From c28f9df55f8018e2af7e12052deb6a0ebb69d99c Mon Sep 17 00:00:00 2001 From: "gcode@loowis.durge.org" Date: Fri, 31 Oct 2014 14:52:38 +0000 Subject: Indentation fixes git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@906 67cdc799-7952-0410-af00-57a81ceafa0f --- fs/ftpfs.py | 48 ++++++++++++++++++++++++------------------------ 1 file 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) -- cgit v1.2.1