summaryrefslogtreecommitdiff
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
commitc28f9df55f8018e2af7e12052deb6a0ebb69d99c (patch)
treee7651e9adf977553345e6e6d27839e4bb71cd826
parent11be37c76725d3a4af9aa7bacd9d08fedef5b718 (diff)
downloadpyfilesystem-c28f9df55f8018e2af7e12052deb6a0ebb69d99c.tar.gz
Indentation fixes
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@906 67cdc799-7952-0410-af00-57a81ceafa0f
-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)