Title: [commits] (john) [16028] Fix a minor bug in script recording I introduced last Friday a.k.a.
Revision
16028
Author
john
Date
2007-12-03 13:31:17 -0800 (Mon, 03 Dec 2007)

Log Message

Fix a minor bug in script recording I introduced last Friday a.k.a. Bug#8772 r=danS

Modified Paths

Diff

Modified: trunk/chandler/parcels/osaf/framework/script_recording/__init__.py (16027 => 16028)

--- trunk/chandler/parcels/osaf/framework/script_recording/__init__.py	2007-12-03 21:30:05 UTC (rev 16027)
+++ trunk/chandler/parcels/osaf/framework/script_recording/__init__.py	2007-12-03 21:31:17 UTC (rev 16028)
@@ -211,7 +211,7 @@
             if dialog.ShowModal () == wx.ID_OK:
                 # Finish the script
                 if self.typingSequence is not None:
-                    self.comments += "        Type %s (%d)%c" % \
+                    self.comments += "        Type %s (%d)%s" % \
                         (self.valueToString (self.typingSequence),
                          self.startTypingLineNumber,
                          os.linesep)
@@ -303,7 +303,7 @@
                         self.typingSequence += unichr (event.UnicodeKey)
                 else:
                     if self.typingSequence is not None:
-                        self.comments += "        Type %s (%d)%c" % \
+                        self.comments += "        Type %s (%d)%s" % \
                             (self.valueToString (self.typingSequence),
                              self.startTypingLineNumber,
                              os.linesep)
@@ -338,13 +338,13 @@
                             else:
                                 assert False, "Didn't find expected menu in menuBar"
 
-                            self.comments += "        Choose menu '%s' (%d)%c" % \
+                            self.comments += "        Choose menu '%s' (%d)%s" % \
                                 (menuName, self.lineNumber, os.linesep)
                         elif isinstance (widget, wx.ToolBarTool):
                             toolBar = widget.GetToolBar()
                             toolIndex = toolBar.GetToolPos (widget.GetId())
 
-                            self.comments += "        Choose toolbar button '%s' (%d)%c" % \
+                            self.comments += "        Choose toolbar button '%s' (%d)%s" % \
                                 (widget.GetLabel(), self.lineNumber, os.linesep)
                 
                     elif eventType == "wx.EVT_LEFT_DOWN":




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to