ProjectDjango/DjangoSendTestEmailDataDialog.py

branch
eric7
changeset 180
64339135bd61
parent 175
30cb5e553e7e
child 190
f394b11f9f31
diff -r 8413c2429808 -r 64339135bd61 ProjectDjango/DjangoSendTestEmailDataDialog.py
--- a/ProjectDjango/DjangoSendTestEmailDataDialog.py	Fri Dec 31 13:17:55 2021 +0100
+++ b/ProjectDjango/DjangoSendTestEmailDataDialog.py	Wed Sep 21 16:42:20 2022 +0200
@@ -17,30 +17,29 @@
     Class implementing a dialog to enter the data for the 'sendtestemail'
     command.
     """
+
     def __init__(self, parent=None):
         """
         Constructor
-        
+
         @param parent reference to the parent widget
         @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
-    
+
     def getData(self):
         """
         Public method to get the dialog data.
-        
+
         @return tuple containing a flag indicating to send to the defined
             managers, a flag indicating to send to the defined administrators
             and a list of recipients
         @rtype tuple of (bool, bool, list of str)
         """
         recipientsStr = self.recipientsEdit.toPlainText()
-        recipients = [r.strip()
-                      for r in recipientsStr.splitlines()
-                      if r.strip()]
-        
+        recipients = [r.strip() for r in recipientsStr.splitlines() if r.strip()]
+
         return (
             self.managersCheckBox.isChecked(),
             self.adminsCheckBox.isChecked(),

eric ide

mercurial