Update PyHesiodFS to use the new File class
[invirt/packages/python-routefs.git] / routefs / examples / pyhesiodfs.py
index 0392bce..0a5aa3e 100755 (executable)
@@ -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)