--- a/degal/filesystem.py Fri Jun 05 23:41:57 2009 +0300
+++ b/degal/filesystem.py Fri Jun 05 23:42:03 2009 +0300
@@ -70,8 +70,8 @@
# config, either as given, or copy from parent
if config :
self.config = config
-
- else :
+
+ elif parent : # XXX: else :
self.config = parent.config
# fsname
@@ -206,8 +206,8 @@
raise
# alias str/unicode
- str = path
- unicode = unicodepath
+ __str__ = path
+ __unicode__ = unicodepath
def __repr__ (self) :
"""
@@ -545,7 +545,10 @@
"""
# abuse Node's concept of a "name" a bit
- super(Root, self).__init__(None, fspath, config=config)
+ super(Root, self).__init__(None, fspath)
+
+ # store our config
+ self.config = config
def nodepath (self) :
"""