X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/python-routefs.git/blobdiff_plain/406f54630675b588d3046e3731daf42b1941f154..08a82a4addc77d28a01fd9a333bb4697b5a4cf6a:/routefs/dictfs.py?ds=inline diff --git a/routefs/dictfs.py b/routefs/dictfs.py old mode 100755 new mode 100644 index a0d302c..595fded --- a/routefs/dictfs.py +++ b/routefs/dictfs.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - """ DictFS allows you to easily create read-only filesystems when the file tree is known in advance. @@ -22,8 +20,7 @@ class DictFS(routefs.RouteFS): """ This property should be overridden in your DictFS descendant """ - return dict(Hello='World', - Directory=dict(a='a', b='b', c=routefs.Symlink('a'))) + return dict() def make_map(self): m = Mapper() @@ -49,6 +46,3 @@ class DictFS(routefs.RouteFS): return routefs.Directory(tree.keys()) else: return tree - -if __name__ == '__main__': - routefs.main(DictFS)