diff MoinMoin/multiconfig.py @ 859:c76dd5d97e0e

small fixes and cleanups
author Franz Pletz <fpletz AT franz-pletz DOT org>
date Mon, 19 Jun 2006 11:58:46 +0200
parents 481c72d4a181
children 9bb19e35d5a8 d0af8dce4d0e
line wrap: on
line diff
--- a/MoinMoin/multiconfig.py	Mon Jun 19 11:37:09 2006 +0200
+++ b/MoinMoin/multiconfig.py	Mon Jun 19 11:58:46 2006 +0200
@@ -276,6 +276,7 @@
                                     # instead of just IPs
 
     xapian_search = False # disabled until xapian is finished
+    xapian_index_dir = None
 
     mail_login = None # or "user pwd" if you need to use SMTP AUTH
     mail_sendmail = None # "/usr/sbin/sendmail -t -i" to not use SMTP, but sendmail
@@ -482,11 +483,6 @@
             if not getattr(self, name, None):
                 setattr(self, name, os.path.join(data_dir, dirname))
 
-        # common xapian index directory
-        if getattr(self, 'xapian_search', False):
-            name = 'xapian_index_dir'
-            setattr(self, name, getattr(self, name, None))
-            
         # Try to decode certain names which allow unicode
         self._decode()