From: Evan Broder Date: Tue, 12 Aug 2008 07:33:48 +0000 (-0700) Subject: Fix DictFS to use auto-conversion convention X-Git-Tag: 1.0.0~12 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/python-routefs.git/commitdiff_plain/299cdf071fe5e61cf83bd4fb8bccf59b1a6ed71d?ds=sidebyside Fix DictFS to use auto-conversion convention --- diff --git a/routefs/dictfs.py b/routefs/dictfs.py index 595fded..b36c589 100644 --- a/routefs/dictfs.py +++ b/routefs/dictfs.py @@ -43,6 +43,6 @@ class DictFS(routefs.RouteFS): return if type(tree) is dict: - return routefs.Directory(tree.keys()) + return tree.keys() else: return tree