diff MoinMoin/caching.py @ 5609:4c6a4adf0540

remove all calls to filesys.dc* (dclistdir, dcdisable), remove unused imports reason: dc* is broken and deprecated, see previous changeset.
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 07 Mar 2010 20:27:20 +0100
parents 294b97b991d3
children 7e3e406f21d9
line wrap: on
line diff
--- a/MoinMoin/caching.py	Sun Mar 07 20:10:29 2010 +0100
+++ b/MoinMoin/caching.py	Sun Mar 07 20:27:20 2010 +0100
@@ -41,7 +41,7 @@
 def get_cache_list(request, arena, scope):
     arena_dir = get_arena_dir(request, arena, scope)
     try:
-        return filesys.dclistdir(arena_dir)
+        return os.listdir(arena_dir)
     except OSError:
         return []