Helpviewer/Network/FtpReply.py

changeset 3022
57179e4cdadd
parent 3002
6ffc581f00f1
child 3058
0a02c433f52d
child 3160
209a07d7e401
--- a/Helpviewer/Network/FtpReply.py	Mon Oct 14 20:08:19 2013 +0200
+++ b/Helpviewer/Network/FtpReply.py	Tue Oct 15 18:29:32 2013 +0200
@@ -140,7 +140,8 @@
         else:
             proxyType = Preferences.getUI("ProxyType/Ftp")
         if proxyType != E5FtpProxyType.NoProxy:
-            self.__ftp.setProxy(proxyType,
+            self.__ftp.setProxy(
+                proxyType,
                 Preferences.getUI("ProxyHost/Ftp"),
                 Preferences.getUI("ProxyPort/Ftp"))
             if proxyType != E5FtpProxyType.NonAuthorizing:
@@ -283,8 +284,8 @@
                             "<b>Connect to proxy '{0}' using:</b>")\
                             .format(Utilities.html_encode(
                                 Preferences.getUI("ProxyHost/Ftp")))
-                        dlg = AuthenticationDialog(info,
-                            Preferences.getUI("ProxyUser/Ftp"), True)
+                        dlg = AuthenticationDialog(
+                            info, Preferences.getUI("ProxyUser/Ftp"), True)
                         dlg.setData(Preferences.getUI("ProxyUser/Ftp"),
                                     Preferences.getUI("ProxyPassword/Ftp"))
                         if dlg.exec_() == QDialog.Accepted:
@@ -390,7 +391,8 @@
             pixmap.fill(Qt.transparent)
             imageBuffer.buffer().clear()
             pixmap.save(imageBuffer, "PNG")
-        return cssString.format(size + 4,
+        return cssString.format(
+            size + 4,
             str(imageBuffer.buffer().toBase64(), encoding="ascii"))
     
     def __setListContent(self):

eric ide

mercurial