From: Evan Broder Date: Tue, 12 Aug 2008 06:27:17 +0000 (-0700) Subject: Remove example qualities of DictFS - that can go in examples later X-Git-Tag: 1.0.0~17 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/python-routefs.git/commitdiff_plain/08a82a4addc77d28a01fd9a333bb4697b5a4cf6a Remove example qualities of DictFS - that can go in examples later --- 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)