changeset 1211:d028d37e7105

raise NotImplemented instance
author Franz Pletz <fpletz AT franz-pletz DOT org>
date Wed, 02 Aug 2006 17:06:24 +0200
parents a31940162a32
children 84f94820d612
files MoinMoin/search/builtin.py
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/builtin.py	Mon Jul 31 12:24:50 2006 +0200
+++ b/MoinMoin/search/builtin.py	Wed Aug 02 17:06:24 2006 +0200
@@ -159,7 +159,7 @@
         ##    self.indexPagesInNewThread(request)
 
     def _main_dir(self):
-        raise NotImplemented
+        raise NotImplemented('...')
 
     def exists(self):
         """ Check if index exists """        
@@ -172,7 +172,7 @@
         os.utime(self.dir, None)
     
     def _search(self, query):
-        raise NotImplemented
+        raise NotImplemented('...')
 
     def search(self, query):
         #if not self.read_lock.acquire(1.0):
@@ -243,7 +243,7 @@
         When called in a new thread, lock is acquired before the call,
         and this method must release it when it finishes or fails.
         """
-        raise NotImplemented
+        raise NotImplemented('...')
 
     def _do_queued_updates_InNewThread(self):
         """ do queued index updates in a new thread
@@ -283,10 +283,10 @@
             raise
 
     def _do_queued_updates(self, request, amount=5):
-        raise NotImplemented
+        raise NotImplemented('...')
 
     def optimize(self):
-        raise NotImplemented
+        raise NotImplemented('...')
 
     def contentfilter(self, filename):
         """ Get a filter for content of filename and return unicode content. """
@@ -311,7 +311,7 @@
         return mt.mime_type(), data
 
     def test(self, request):
-        raise NotImplemented
+        raise NotImplemented('...')
 
     def _indexingRequest(self, request):
         """ Return a new request that can be used for index building.