changeset 868:01750f3c867c

fix backtrace when not using xapian_index_dir
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 20 Jun 2006 21:13:27 +0200
parents 5cb34cdcacc8
children 0152984f76ee d0af8dce4d0e
files MoinMoin/Xapian.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/Xapian.py	Tue Jun 20 21:09:11 2006 +0200
+++ b/MoinMoin/Xapian.py	Tue Jun 20 21:13:27 2006 +0200
@@ -308,7 +308,7 @@
             return os.path.join(self.request.cfg.xapian_index_dir,
                     self.request.cfg.siteid)
         else:
-            return os.path.join(request.cfg.cache_dir, 'xapian')
+            return os.path.join(self.request.cfg.cache_dir, 'xapian')
 
     def exists(self):
         """ Check if index exists """