Skip to content
Browse files

Fix PyHesiodFS to use auto-conversion convention

  • Loading branch information...
1 parent 299cdf0 commit f2e13ce53aa1209779400a61c7779b87b280f7f8 @ebroder committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 routefs/examples/pyhesiodfs.py
View
6 routefs/examples/pyhesiodfs.py
@@ -30,16 +30,16 @@ def getLocker(self, action, **kwargs):
return
def getList(self, **kwargs):
- return routefs.Directory(self.cache.keys() + ['README.txt'])
+ return self.cache.keys() + ['README.txt']
def getReadme(self, **kwargs):
- return routefs.File("""
+ return """
This is the pyHesiodFS FUSE automounter. To access a Hesiod filsys,
just access /mit/name.
If you're using the Finder, try pressing Cmd+Shift+G and then entering
/mit/name
-""")
+"""
if __name__ == '__main__':
routefs.main(PyHesiodFS)

0 comments on commit f2e13ce

Please sign in to comment.
Something went wrong with that request. Please try again.