Modified some list(sorted(...)) calls.

Sun, 05 Dec 2010 18:14:56 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 05 Dec 2010 18:14:56 +0100
changeset 739
efbfe57c8219
parent 737
63a55933bdf3
child 740
9625b5817d1c

Modified some list(sorted(...)) calls.

Plugins/VcsPlugins/vcsMercurial/HgBackoutDialog.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsMercurial/HgBundleDialog.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsMercurial/HgMergeDialog.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsMercurial/HgRevisionSelectionDialog.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsMercurial/HgRevisionsSelectionDialog.py file | annotate | diff | comparison | revisions
Preferences/ConfigurationPages/CooperationPage.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsMercurial/HgBackoutDialog.py	Sun Dec 05 18:02:46 2010 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgBackoutDialog.py	Sun Dec 05 18:14:56 2010 +0100
@@ -27,8 +27,8 @@
         QDialog.__init__(self, parent)
         self.setupUi(self)
         
-        self.tagCombo.addItems(list(sorted(tagsList)))
-        self.branchCombo.addItems(list(sorted(["default"] + branchesList)))
+        self.tagCombo.addItems(sorted(tagsList))
+        self.branchCombo.addItems(["default"] + sorted(branchesList))
         
         self.okButton = self.buttonBox.button(QDialogButtonBox.Ok)
         self.okButton.setEnabled(False)
--- a/Plugins/VcsPlugins/vcsMercurial/HgBundleDialog.py	Sun Dec 05 18:02:46 2010 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgBundleDialog.py	Sun Dec 05 18:14:56 2010 +0100
@@ -27,8 +27,8 @@
         self.setupUi(self)
         
         self.compressionCombo.addItems(["", "bzip2", "gzip", "none"])
-        self.tagCombo.addItems(list(sorted(tagsList)))
-        self.branchCombo.addItems(list(sorted(["default"] + branchesList)))
+        self.tagCombo.addItems(sorted(tagsList))
+        self.branchCombo.addItems(["default"] + sorted(branchesList))
     
     def getParameters(self):
         """
--- a/Plugins/VcsPlugins/vcsMercurial/HgMergeDialog.py	Sun Dec 05 18:02:46 2010 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgMergeDialog.py	Sun Dec 05 18:14:56 2010 +0100
@@ -28,8 +28,8 @@
         self.setupUi(self)
        
         self.forceCheckBox.setChecked(force)
-        self.tagCombo.addItems(list(sorted(tagsList)))
-        self.branchCombo.addItems(list(sorted(["default"] + branchesList)))
+        self.tagCombo.addItems(sorted(tagsList))
+        self.branchCombo.addItems(["default"] + sorted(branchesList))
     
     def getParameters(self):
         """
--- a/Plugins/VcsPlugins/vcsMercurial/HgRevisionSelectionDialog.py	Sun Dec 05 18:02:46 2010 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgRevisionSelectionDialog.py	Sun Dec 05 18:14:56 2010 +0100
@@ -27,8 +27,8 @@
         QDialog.__init__(self, parent)
         self.setupUi(self)
        
-        self.tagCombo.addItems(list(sorted(tagsList)))
-        self.branchCombo.addItems(list(sorted(["default"] + branchesList)))
+        self.tagCombo.addItems(sorted(tagsList))
+        self.branchCombo.addItems(["default"] + sorted(branchesList))
         
         if showNone:
             self.tipButton.setText(self.trUtf8("No revision selected"))
--- a/Plugins/VcsPlugins/vcsMercurial/HgRevisionsSelectionDialog.py	Sun Dec 05 18:02:46 2010 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgRevisionsSelectionDialog.py	Sun Dec 05 18:14:56 2010 +0100
@@ -26,10 +26,10 @@
         QDialog.__init__(self, parent)
         self.setupUi(self)
         
-        self.tag1Combo.addItems(list(sorted(tagsList)))
-        self.tag2Combo.addItems(list(sorted(tagsList)))
-        self.branch1Combo.addItems(list(sorted(["default"] + branchesList)))
-        self.branch2Combo.addItems(list(sorted(["default"] + branchesList)))
+        self.tag1Combo.addItems(sorted(tagsList))
+        self.tag2Combo.addItems(sorted(tagsList))
+        self.branch1Combo.addItems(["default"] + sorted(branchesList))
+        self.branch2Combo.addItems(["default"] + sorted(branchesList))
     
     def __getRevision(self, no):
         """
--- a/Preferences/ConfigurationPages/CooperationPage.py	Sun Dec 05 18:02:46 2010 +0100
+++ b/Preferences/ConfigurationPages/CooperationPage.py	Sun Dec 05 18:14:56 2010 +0100
@@ -46,8 +46,8 @@
         self.autoAcceptCheckBox.setChecked(
             Preferences.getCooperation("AutoAcceptConnections"))
         
-        self.bannedUsersList.addItems(list(sorted(
-            Preferences.getCooperation("BannedUsers"))))
+        self.bannedUsersList.addItems(sorted(
+            Preferences.getCooperation("BannedUsers")))
     
     def save(self):
         """

eric ide

mercurial