IDEFrame.py
changeset 1740 b789b695b5c6
parent 1739 ec153828ded2
child 1741 dd94b9a68c61
--- a/IDEFrame.py	Tue Aug 15 12:17:51 2017 +0300
+++ b/IDEFrame.py	Tue Aug 15 15:50:30 2017 +0300
@@ -257,7 +257,7 @@
     for tab in tabs:
         if tab["pos"][0] == rect.x:
             others = [t for t in tabs if t != tab]
-            others.sort(lambda x,y: cmp(x["pos"][0], y["pos"][0]))
+            others.sort(lambda x, y: cmp(x["pos"][0], y["pos"][0]))
             for other in others:
                 if (other["pos"][1] == tab["pos"][1] and
                     other["size"][1] == tab["size"][1] and
@@ -272,7 +272,7 @@
 
         elif tab["pos"][1] == rect.y:
             others = [t for t in tabs if t != tab]
-            others.sort(lambda x,y: cmp(x["pos"][1], y["pos"][1]))
+            others.sort(lambda x, y: cmp(x["pos"][1], y["pos"][1]))
             for other in others:
                 if (other["pos"][0] == tab["pos"][0] and
                     other["size"][0] == tab["size"][0] and
@@ -1465,7 +1465,7 @@
             event.Skip()
         return OnTabsOpenedDClick
 
-    def SwitchFullScrMode(self,evt):
+    def SwitchFullScrMode(self, evt):
         pane = self.AUIManager.GetPane(self.TabsOpened)
         if pane.IsMaximized():
             self.AUIManager.RestorePane(pane)