--- 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):