summaryrefslogtreecommitdiff
path: root/fs/base.py
diff options
context:
space:
mode:
authorwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2010-12-21 21:45:47 +0000
committerwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2010-12-21 21:45:47 +0000
commit44e691c10e87430018e5a3febd02f787ade231f0 (patch)
treefc51a3a4b9dc325aab15e104a02c43cafcf910bb /fs/base.py
parent1ae3b0bbc0bc8336e96992e76baa746f66416ab2 (diff)
downloadpyfilesystem-44e691c10e87430018e5a3febd02f787ade231f0.tar.gz
Added an simple httpfs, and sorted out command installation
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@568 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/base.py')
-rw-r--r--fs/base.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/base.py b/fs/base.py
index 9ee2578..edd77df 100644
--- a/fs/base.py
+++ b/fs/base.py
@@ -371,12 +371,12 @@ class FS(object):
for f in self.listdir():
yield f
- def listdir(self, path="./",
- wildcard=None,
- full=False,
- absolute=False,
- dirs_only=False,
- files_only=False):
+ def listdir(self, path="./",
+ wildcard=None,
+ full=False,
+ absolute=False,
+ dirs_only=False,
+ files_only=False):
"""Lists the the files and directories under a given path.
The directory contents are returned as a list of unicode paths.