summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorgcode@loowis.durge.org <gcode@loowis.durge.org@67cdc799-7952-0410-af00-57a81ceafa0f>2014-10-31 14:52:38 +0000
committergcode@loowis.durge.org <gcode@loowis.durge.org@67cdc799-7952-0410-af00-57a81ceafa0f>2014-10-31 14:52:38 +0000
commit2730399ab3b9ecd645c23c728e338462d297a79b (patch)
treee7651e9adf977553345e6e6d27839e4bb71cd826 /fs
parent6b694c51af23da213ecba960fb5d1114ae9a3eba (diff)
downloadpyfilesystem-git-2730399ab3b9ecd645c23c728e338462d297a79b.tar.gz
Indentation fixes
Diffstat (limited to 'fs')
-rw-r--r--fs/ftpfs.py48
1 files changed, 24 insertions, 24 deletions
diff --git a/fs/ftpfs.py b/fs/ftpfs.py
index 830c119..4a43328 100644
--- a/fs/ftpfs.py
+++ b/fs/ftpfs.py
@@ -1435,38 +1435,38 @@ class FTPFS(FS):
if __name__ == "__main__":
- ftp_fs = FTPFS('ftp.ncsa.uiuc.edu')
- ftp_fs.cache_hint(True)
- from fs.browsewin import browse
- browse(ftp_fs)
+ ftp_fs = FTPFS('ftp.ncsa.uiuc.edu')
+ ftp_fs.cache_hint(True)
+ from fs.browsewin import browse
+ browse(ftp_fs)
- #ftp_fs = FTPFS('127.0.0.1', 'user', '12345', dircache=True)
- #f = ftp_fs.open('testout.txt', 'w')
- #f.write("Testing writing to an ftp file!")
- #f.write("\nHai!")
- #f.close()
+ #ftp_fs = FTPFS('127.0.0.1', 'user', '12345', dircache=True)
+ #f = ftp_fs.open('testout.txt', 'w')
+ #f.write("Testing writing to an ftp file!")
+ #f.write("\nHai!")
+ #f.close()
- #ftp_fs.createfile(u"\N{GREEK CAPITAL LETTER KAPPA}", 'unicode!')
+ #ftp_fs.createfile(u"\N{GREEK CAPITAL LETTER KAPPA}", 'unicode!')
- #kappa = u"\N{GREEK CAPITAL LETTER KAPPA}"
- #ftp_fs.makedir(kappa)
+ #kappa = u"\N{GREEK CAPITAL LETTER KAPPA}"
+ #ftp_fs.makedir(kappa)
- #print repr(ftp_fs.listdir())
+ #print repr(ftp_fs.listdir())
- #print repr(ftp_fs.listdir())
+ #print repr(ftp_fs.listdir())
- #ftp_fs.makedir('a/b/c/d', recursive=True)
- #print ftp_fs.getsize('/testout.txt')
+ #ftp_fs.makedir('a/b/c/d', recursive=True)
+ #print ftp_fs.getsize('/testout.txt')
- #print f.read()
- #for p in ftp_fs:
- # print p
+ #print f.read()
+ #for p in ftp_fs:
+ # print p
- #from fs.utils import print_fs
- #print_fs(ftp_fs)
+ #from fs.utils import print_fs
+ #print_fs(ftp_fs)
- #print ftp_fs.getsize('test.txt')
+ #print ftp_fs.getsize('test.txt')
- #from fs.browsewin import browse
- #browse(ftp_fs)
+ #from fs.browsewin import browse
+ #browse(ftp_fs)