UI/EmailDialog.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3039
8dd0165d805d
child 3145
a9de05d4a22f
diff -r 0a02c433f52d -r 5883ce99ee12 UI/EmailDialog.py
--- a/UI/EmailDialog.py	Fri Nov 01 15:48:48 2013 +0100
+++ b/UI/EmailDialog.py	Sun Nov 03 15:58:22 2013 +0100
@@ -310,7 +310,7 @@
                         self.trUtf8("Send bug report"),
                         self.trUtf8(
                             """<p>Authentication failed.<br>Reason: {0}</p>""")
-                            .format(errorStr),
+                        .format(errorStr),
                         E5MessageBox.Critical)
                     if res:
                         return self.__sendmail(msg)
@@ -336,7 +336,7 @@
                 self.trUtf8("Send bug report"),
                 self.trUtf8(
                     """<p>Message could not be sent.<br>Reason: {0}</p>""")
-                    .format(errorStr),
+                .format(errorStr),
                 E5MessageBox.Critical)
             if res:
                 return self.__sendmail(msg)
@@ -391,7 +391,7 @@
         @param txt changed text (string)
         """
         self.sendButton.setEnabled(
-            self.subject.text() != "" and \
+            self.subject.text() != "" and
             self.message.toPlainText() != "")
         
     def on_message_textChanged(self):
@@ -399,5 +399,5 @@
         Private slot to handle the textChanged signal of the message edit.
         """
         self.sendButton.setEnabled(
-            self.subject.text() != "" and \
+            self.subject.text() != "" and
             self.message.toPlainText() != "")

eric ide

mercurial