summaryrefslogtreecommitdiff
path: root/fs/opener.py
diff options
context:
space:
mode:
authorwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2010-12-05 11:18:44 +0000
committerwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2010-12-05 11:18:44 +0000
commit131317eeb98b8c7a160c390a9c7b11724259150d (patch)
tree2be6b46c08d272dce90be7b6e09f2fdcc5508088 /fs/opener.py
parentcdb534b40d3631740773feb5bf3045cce2bf00f1 (diff)
downloadpyfilesystem-131317eeb98b8c7a160c390a9c7b11724259150d.tar.gz
Removed comments
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@539 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/opener.py')
-rw-r--r--fs/opener.py25
1 files changed, 1 insertions, 24 deletions
diff --git a/fs/opener.py b/fs/opener.py
index 404ced7..467f07e 100644
--- a/fs/opener.py
+++ b/fs/opener.py
@@ -297,32 +297,9 @@ opener = OpenerRegistry([OSFSOpener,
def main():
- #fs, path = opener.parse('*.py')
- #fs, path = opener.parse('[osfs]/home/will/+projects/pyfilesystem')
-
- #fs, path = opener.parse('~/t.zip')
- fs, path = opener.parse('[sftp]will:password')
- #fs, path = opener.parse('[zip]([osfs]~/+test.zip)+a.txt')
-
print fs, path
- #fs, path = opener.parse('[zip#[sftp]root:hamster5921@willmcgugan.com+/home/www/willmcgugan.com/files/langtonants.zip]+/langtonants')
- #fs, path = opener.parse('[sftp]root:hamster5921@willmcgugan.com+chesscommander+')
- #print fs
- #print path
- #print fs.opendir(path).listdir()
-
if __name__ == "__main__":
main()
- #fs, path = opener.parse('[ftp]ftp.mozilla.org+pub')
- #print fs.listdir(path)
-
- #print registry.parse("/home/will/Pictures/darkpie.png")
- #print registry.parse("[file]/home/will/Pictures/+darkpie.png")
- #print registry.parse("/home/will/Pictures/+darkpie.png")
- #print registry.parse("/home/will/Pictures/")
- #print registry.parse("[zip]/home/will/Pictures/Pictures.zip+DSC00717.JPG")
- #print registry.open("[zip]/home/will/Pictures/t.zip+t.txt").read()
- #print registry.getcontents("[zip]/home/will/Pictures/t.zip+t.txt")
- #print registry.parse("ftp:ftp.site.org+/some/site") \ No newline at end of file
+ \ No newline at end of file