Utilities/FtpUtilities.py

changeset 3039
8dd0165d805d
parent 3030
4a0a82ddd9d2
child 3060
5883ce99ee12
child 3160
209a07d7e401
diff -r 7fe9a53280bd -r 8dd0165d805d Utilities/FtpUtilities.py
--- a/Utilities/FtpUtilities.py	Sat Oct 19 16:51:12 2013 +0200
+++ b/Utilities/FtpUtilities.py	Sat Oct 19 17:42:18 2013 +0200
@@ -63,7 +63,7 @@
         @return flag indicating to ignore the line (boolean)
         """
         return line.strip() == "" or \
-               line.strip().lower().startswith("total ")
+            line.strip().lower().startswith("total ")
     
     def __parseUnixMode(self, modeString, urlInfo):
         """
@@ -201,7 +201,7 @@
         @return URL info object containing the valid data (E5UrlInfo)
         """
         modeString, nlink, user, group, size, month, day, \
-          yearOrTime, name = self.__splitUnixLine(line)
+            yearOrTime, name = self.__splitUnixLine(line)
         
         if name in [".", ".."]:
             return None

eric ide

mercurial