X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/python-routefs.git/blobdiff_plain/4e57bef57694459e4d81def1410211bdd1d41dd1..f2e13ce53aa1209779400a61c7779b87b280f7f8:/routefs/examples/pyhesiodfs.py diff --git a/routefs/examples/pyhesiodfs.py b/routefs/examples/pyhesiodfs.py index 6c5f77b..40ebcb2 100755 --- a/routefs/examples/pyhesiodfs.py +++ b/routefs/examples/pyhesiodfs.py @@ -1,4 +1,4 @@ -#!/sw/bin/python2.5 +#!/usr/bin/python import hesiod import routefs @@ -30,7 +30,7 @@ class PyHesiodFS(routefs.RouteFS): return def getList(self, **kwargs): - return routefs.Directory(self.cache.keys() + ['README.txt']) + return self.cache.keys() + ['README.txt'] def getReadme(self, **kwargs): return """