diff options
author | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2010-12-05 11:18:44 +0000 |
---|---|---|
committer | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2010-12-05 11:18:44 +0000 |
commit | 8ff1c9b1becb79774510374a5c2ab1414bc2ffaf (patch) | |
tree | 2be6b46c08d272dce90be7b6e09f2fdcc5508088 /fs/opener.py | |
parent | 4c9f971142e99d978c1f2cf205ad2c2cbb7c25d0 (diff) | |
download | pyfilesystem-git-8ff1c9b1becb79774510374a5c2ab1414bc2ffaf.tar.gz |
Removed comments
Diffstat (limited to 'fs/opener.py')
-rw-r--r-- | fs/opener.py | 25 |
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 |