From 08a82a4addc77d28a01fd9a333bb4697b5a4cf6a Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Mon, 11 Aug 2008 23:27:17 -0700 Subject: [PATCH] Remove example qualities of DictFS - that can go in examples later --- routefs/dictfs.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) mode change 100755 => 100644 routefs/dictfs.py 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) -- 1.7.9.5