projects
/
invirt/packages/python-routefs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eab1fc3
)
Update PyHesiodFS to use the new File class
author
Evan Broder
<broder@mit.edu>
Tue, 12 Aug 2008 07:22:04 +0000
(
00:22
-0700)
committer
Evan Broder
<broder@mit.edu>
Tue, 12 Aug 2008 07:22:04 +0000
(
00:22
-0700)
routefs/examples/pyhesiodfs.py
patch
|
blob
|
history
diff --git
a/routefs/examples/pyhesiodfs.py
b/routefs/examples/pyhesiodfs.py
index
0392bce
..
0a5aa3e
100755
(executable)
--- 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)