Some code beautyfications.

Sun, 29 Aug 2010 15:20:02 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 29 Aug 2010 15:20:02 +0200
changeset 518
2b991e88765e
parent 517
fe6fe492f82e
child 519
3636a66eb5a2

Some code beautyfications.

Preferences/ConfigurationPages/DebuggerPythonPage.py file | annotate | diff | comparison | revisions
Preferences/ConfigurationPages/HelpDocumentationPage.py file | annotate | diff | comparison | revisions
PyUnit/UnittestDialog.py file | annotate | diff | comparison | revisions
--- a/Preferences/ConfigurationPages/DebuggerPythonPage.py	Sun Aug 29 15:18:57 2010 +0200
+++ b/Preferences/ConfigurationPages/DebuggerPythonPage.py	Sun Aug 29 15:20:02 2010 +0200
@@ -98,7 +98,7 @@
             None,
             self.trUtf8("Select Debug Client"),
             self.debugClientEdit.text(),
-            self.trUtf8("Python Files (*.py)"))
+            self.trUtf8("Python Files (*.py *.py2)"))
             
         if file:
             self.debugClientEdit.setText(\
--- a/Preferences/ConfigurationPages/HelpDocumentationPage.py	Sun Aug 29 15:18:57 2010 +0200
+++ b/Preferences/ConfigurationPages/HelpDocumentationPage.py	Sun Aug 29 15:20:02 2010 +0200
@@ -74,7 +74,9 @@
             self,
             self.trUtf8("Select Python documentation entry"),
             QUrl(self.pythonDocDirEdit.text()).path(),
-            self.trUtf8("HTML Files (*.html *.htm);;All Files (*)"))
+            self.trUtf8("HTML Files (*.html *.htm);;"
+                "Compressed Help Files (*.chm);;"
+                "All Files (*)"))
         
         if entry:
             self.pythonDocDirEdit.setText(Utilities.toNativeSeparators(entry))
--- a/PyUnit/UnittestDialog.py	Sun Aug 29 15:18:57 2010 +0200
+++ b/PyUnit/UnittestDialog.py	Sun Aug 29 15:20:02 2010 +0200
@@ -149,10 +149,13 @@
         """
         if self.dbs:
             pyExtensions = \
-                ' '.join(["*{0}".format(ext) for ext in self.dbs.getExtensions('Python')])
+                ' '.join(["*{0}".format(ext) 
+                          for ext in self.dbs.getExtensions('Python')])
             py3Extensions = \
-                ' '.join(["*{0}".format(ext) for ext in self.dbs.getExtensions('Python3')])
-            filter = self.trUtf8("Python3 Files ({1});;Python2 Files ({0});;All Files (*)")\
+                ' '.join(["*{0}".format(ext) 
+                          for ext in self.dbs.getExtensions('Python3')])
+            filter = self.trUtf8(
+                "Python3 Files ({1});;Python2 Files ({0});;All Files (*)")\
                 .format(pyExtensions, py3Extensions)
         else:
             filter = self.trUtf8("Python Files (*.py);;All Files (*)")

eric ide

mercurial