Commit 9a409710 by willmcgugan

Applied diff from Erik Unger that fixes two issues

parent 7456cbb8
...@@ -69,9 +69,6 @@ class NullFile(object): ...@@ -69,9 +69,6 @@ class NullFile(object):
def __init__(self): def __init__(self):
self.closed = False self.closed = False
def close(self):
self.closed = True
def flush(self): def flush(self):
pass pass
...@@ -325,12 +322,12 @@ class FS(object): ...@@ -325,12 +322,12 @@ class FS(object):
return pathjoin(path, p) return pathjoin(path, p)
return [(p, self.getinfo(get_path(p))) return [(p, self.getinfo(get_path(p)))
for p in self._listdir( path, for p in self._listdir_helper(path,
widcard=wildcard, widcard=wildcard,
full=full, full=full,
absolute=absolute, absolute=absolute,
dirs_only=dirs_only, dirs_only=dirs_only,
files_only=files_only )] files_only=files_only)]
def _listdir_helper(self, path, entries, def _listdir_helper(self, path, entries,
wildcard=None, wildcard=None,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment