Preferences/ConfigurationPages/EmailPage.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3038
7fe9a53280bd
child 3145
a9de05d4a22f
--- a/Preferences/ConfigurationPages/EmailPage.py	Fri Nov 01 15:48:48 2013 +0100
+++ b/Preferences/ConfigurationPages/EmailPage.py	Sun Nov 03 15:58:22 2013 +0100
@@ -82,9 +82,9 @@
         Private slot to update the enabled state of the test button.
         """
         self.testButton.setEnabled(
-            self.mailAuthenticationCheckBox.isChecked() and \
-            self.mailUserEdit.text() != "" and \
-            self.mailPasswordEdit.text() != "" and \
+            self.mailAuthenticationCheckBox.isChecked() and
+            self.mailUserEdit.text() != "" and
+            self.mailPasswordEdit.text() != "" and
             self.mailServerEdit.text() != ""
         )
     
@@ -155,7 +155,7 @@
                     self.trUtf8("Login Test"),
                     self.trUtf8(
                         """<p>The login test failed.<br>Reason: {0}</p>""")
-                        .format(errorStr))
+                    .format(errorStr))
             server.quit()
         except (smtplib.SMTPException, socket.error) as e:
             QApplication.restoreOverrideCursor()
@@ -174,7 +174,7 @@
                 self,
                 self.trUtf8("Login Test"),
                 self.trUtf8("""<p>The login test failed.<br>Reason: {0}</p>""")
-                    .format(errorStr))
+                .format(errorStr))
 
 
 def create(dlg):

eric ide

mercurial