projects
/
invirt/packages/python-routefs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update debian/changelog for 1.0.1-1
[invirt/packages/python-routefs.git]
/
routefs
/
examples
/
pyhesiodfs.py
diff --git
a/routefs/examples/pyhesiodfs.py
b/routefs/examples/pyhesiodfs.py
index
6c5f77b
..
92986a2
100755
(executable)
--- a/
routefs/examples/pyhesiodfs.py
+++ b/
routefs/examples/pyhesiodfs.py
@@
-1,4
+1,4
@@
-#!/sw/bin/python2.5
+#!/usr/bin/python
import hesiod
import routefs
import hesiod
import routefs
@@
-7,6
+7,7
@@
from routes import Mapper
class PyHesiodFS(routefs.RouteFS):
def __init__(self, *args, **kwargs):
super(PyHesiodFS, self).__init__(*args, **kwargs)
class PyHesiodFS(routefs.RouteFS):
def __init__(self, *args, **kwargs):
super(PyHesiodFS, self).__init__(*args, **kwargs)
+ self.fuse_args.add("allow_other", True)
self.cache = {}
self.cache = {}
@@
-30,7
+31,7
@@
class PyHesiodFS(routefs.RouteFS):
return
def getList(self, **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 """
def getReadme(self, **kwargs):
return """