ProjectDjango/DjangoDiffsettingsDataDialog.py

branch
eric7
changeset 180
64339135bd61
parent 175
30cb5e553e7e
child 190
f394b11f9f31
--- a/ProjectDjango/DjangoDiffsettingsDataDialog.py	Fri Dec 31 13:17:55 2021 +0100
+++ b/ProjectDjango/DjangoDiffsettingsDataDialog.py	Wed Sep 21 16:42:20 2022 +0200
@@ -17,10 +17,11 @@
     Class implementing a dialog to enter the data for the 'diffsettings'
     command.
     """
+
     def __init__(self, django, parent=None):
         """
         Constructor
-        
+
         @param django reference to the Django project object
         @type Project
         @param parent reference to the parent widget
@@ -28,24 +29,22 @@
         """
         super().__init__(parent)
         self.setupUi(self)
-        
+
         self.formatComboBox.addItem(self.tr("Hash Format"), "hash")
         self.formatComboBox.addItem(self.tr("Unified Diff"), "unified")
-        
+
         msh = self.minimumSizeHint()
         self.resize(max(self.width(), msh.width()), msh.height())
-    
+
     def getData(self):
         """
         Public method to get the dialog data.
-        
+
         @return tuple containing a flag indicating to show all settings,
             the name of a module containing the default settings and the
             output format
         @rtype tuple of (bool, str, str)
         """
-        outputFormat = self.formatComboBox.itemData(
-            self.formatComboBox.currentIndex())
-        
-        return (self.allCheckBox.isChecked(), self.defaultEdit.text(),
-                outputFormat)
+        outputFormat = self.formatComboBox.itemData(self.formatComboBox.currentIndex())
+
+        return (self.allCheckBox.isChecked(), self.defaultEdit.text(), outputFormat)

eric ide

mercurial