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
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
77baf63
..
9b88485
100644
(file)
--- a/
routefs/dictfs.py
+++ b/
routefs/dictfs.py
@@
-24,7
+24,8
@@
class DictFS(routefs.RouteFS):
"""
return dict()
- def make_map(self):
+ @property
+ def map(self):
m = Mapper()
m.connect('*path', controller='handler')