Remove example qualities of DictFS - that can go in examples later
authorEvan Broder <broder@mit.edu>
Tue, 12 Aug 2008 06:27:17 +0000 (23:27 -0700)
committerEvan Broder <broder@mit.edu>
Tue, 12 Aug 2008 06:27:17 +0000 (23:27 -0700)
routefs/dictfs.py [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index a0d302c..595fded
@@ -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)