projects
/
invirt/packages/python-routefs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "Eliminate make_map in favor of a simpler map property."
[invirt/packages/python-routefs.git]
/
routefs
/
dictfs.py
diff --git
a/routefs/dictfs.py
b/routefs/dictfs.py
index
595fded
..
77baf63
100644
(file)
--- a/
routefs/dictfs.py
+++ b/
routefs/dictfs.py
@@
-15,6
+15,8
@@
from routes import Mapper
import os
class DictFS(routefs.RouteFS):
+ controllers = ['handler']
+
@property
def files(self):
"""
@@
-43,6
+45,6
@@
class DictFS(routefs.RouteFS):
return
if type(tree) is dict:
- return routefs.Directory(tree.keys())
+ return tree.keys()
else:
return tree