Automatically convert strs and lists to Files and Directories
[invirt/packages/python-routefs.git] / routefs / examples / pyhesiodfs.py
index 6c5f77b..0a5aa3e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/sw/bin/python2.5
+#!/usr/bin/python
 
 import hesiod
 import routefs
@@ -33,13 +33,13 @@ class PyHesiodFS(routefs.RouteFS):
         return routefs.Directory(self.cache.keys() + ['README.txt'])
     
     def getReadme(self, **kwargs):
-        return """
+        return routefs.File("""
 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)