From 4909cd3c77813b3c61f26fd6af4f3a0958cc92f4 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Tue, 12 Aug 2008 00:22:04 -0700 Subject: [PATCH] Update PyHesiodFS to use the new File class --- routefs/examples/pyhesiodfs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routefs/examples/pyhesiodfs.py b/routefs/examples/pyhesiodfs.py index 0392bce..0a5aa3e 100755 --- a/routefs/examples/pyhesiodfs.py +++ b/routefs/examples/pyhesiodfs.py @@ -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) -- 1.7.9.5