controls/SearchResultPanel.py
changeset 1744 69dfdb26f600
parent 1739 ec153828ded2
child 1745 f9d32913bad4
--- a/controls/SearchResultPanel.py	Tue Aug 15 17:01:51 2017 +0300
+++ b/controls/SearchResultPanel.py	Tue Aug 15 22:38:43 2017 +0300
@@ -53,7 +53,7 @@
 class SearchResultPanel(wx.Panel):
 
     if wx.VERSION < (2, 6, 0):
-        def Bind(self, event, function, id = None):
+        def Bind(self, event, function, id=None):
             if id is not None:
                 event(self, id, function)
             else:
@@ -242,7 +242,7 @@
             else:
                 header_format = _("'{a1}' - {a2} matches in project")
 
-            self.HeaderLabel.SetLabel(header_format.format(a1 = self.Criteria["find_pattern"], a2 = matches_number))
+            self.HeaderLabel.SetLabel(header_format.format(a1=self.Criteria["find_pattern"], a2=matches_number))
             self.ResetButton.Enable(True)
 
             if matches_number > 0: