# HG changeset patch # User Thomas Waldmann # Date 1216229164 -7200 # Node ID 6dbeb3669091c6573a93e54c3e7c24149d297408 # Parent 6d2f6f954c08f3fb381d2c50671f8adf673cb30d some PEP8 fixes diff -r 6d2f6f954c08 -r 6dbeb3669091 MoinMoin/caching.py --- a/MoinMoin/caching.py Wed Jul 16 19:20:23 2008 +0200 +++ b/MoinMoin/caching.py Wed Jul 16 19:26:04 2008 +0200 @@ -72,7 +72,7 @@ if not os.path.exists(self.arena_dir): os.makedirs(self.arena_dir) self._fname = os.path.join(self.arena_dir, key) - + if self.locking: self.lock_dir = os.path.join(self.arena_dir, '__lock__') self.rlock = lock.LazyReadLock(self.lock_dir, 60.0) @@ -244,7 +244,7 @@ return data except (pickle.UnpicklingError, IOError, EOFError, ValueError), err: raise CacheError(str(err)) - + def remove(self): if not self.locking or self.locking and self.wlock.acquire(1.0): try: diff -r 6d2f6f954c08 -r 6dbeb3669091 MoinMoin/wikiutil.py --- a/MoinMoin/wikiutil.py Wed Jul 16 19:20:23 2008 +0200 +++ b/MoinMoin/wikiutil.py Wed Jul 16 19:26:04 2008 +0200 @@ -1176,7 +1176,7 @@ @param kind: what kind of modules we look for @rtype: dict - @return: plugin name to containing module name mapping + @return: plugin name to containing module name mapping """ # short-cut if we've loaded the dict already # (or already failed to load it)