changeset 1090:75f8c432385f

Fixed MetaDict on POSIX platforms.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Sat, 29 Jul 2006 22:02:02 +0200
parents b8142cb6aa7f
children 8b309674bf06 4633e6aba73e
files MoinMoin/wikiutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/wikiutil.py	Fri Jul 28 23:29:55 2006 +0200
+++ b/MoinMoin/wikiutil.py	Sat Jul 29 22:02:02 2006 +0200
@@ -417,7 +417,7 @@
         self.metafilename = metafilename
         self.dirty = False
         self.loaded = False
-        lock_dir = os.path.join(metafilename, '..', 'cache', '__metalock__')
+        lock_dir = os.path.normpath(os.path.join(metafilename, '..', 'cache', '__metalock__'))
         self.rlock = lock.ReadLock(lock_dir, 60.0)
         self.wlock = lock.WriteLock(lock_dir, 60.0)