UI/EmailDialog.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3030
4a0a82ddd9d2
child 3060
5883ce99ee12
--- a/UI/EmailDialog.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/UI/EmailDialog.py	Fri Nov 01 15:48:48 2013 +0100
@@ -120,7 +120,8 @@
         @param ev key event (QKeyEvent)
         """
         if ev.key() == Qt.Key_Escape:
-            res = E5MessageBox.yesNo(self,
+            res = E5MessageBox.yesNo(
+                self,
                 self.trUtf8("Close dialog"),
                 self.trUtf8("""Do you really want to close the dialog?"""))
             if res:
@@ -139,7 +140,8 @@
         """
         Private slot to handle the rejected signal of the button box.
         """
-        res = E5MessageBox.yesNo(self,
+        res = E5MessageBox.yesNo(
+            self,
             self.trUtf8("Close dialog"),
             self.trUtf8("""Do you really want to close the dialog?"""))
         if res:
@@ -220,8 +222,8 @@
         @return string containing the mail message
         """
         mpPreamble = ("This is a MIME-encoded message with attachments. "
-            "If you see this message, your mail client is not "
-            "capable of displaying the attachments.")
+                      "If you see this message, your mail client is not "
+                      "capable of displaying the attachments.")
         
         msgtext = "{0}\r\n----\r\n{1}----\r\n{2}----\r\n{3}".format(
             self.message.toPlainText(),
@@ -303,7 +305,8 @@
                         errorStr = e[1]
                     else:
                         errorStr = str(e)
-                    res = E5MessageBox.retryAbort(self,
+                    res = E5MessageBox.retryAbort(
+                        self,
                         self.trUtf8("Send bug report"),
                         self.trUtf8(
                             """<p>Authentication failed.<br>Reason: {0}</p>""")
@@ -328,7 +331,8 @@
                 errorStr = e[1]
             else:
                 errorStr = str(e)
-            res = E5MessageBox.retryAbort(self,
+            res = E5MessageBox.retryAbort(
+                self,
                 self.trUtf8("Send bug report"),
                 self.trUtf8(
                     """<p>Message could not be sent.<br>Reason: {0}</p>""")

eric ide

mercurial