Fixed a bug introduced by the string format conversions.

Sat, 31 Jul 2010 18:58:43 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 31 Jul 2010 18:58:43 +0200
changeset 447
d5a0302040e9
parent 446
69aac6eeba9b
child 448
a1f1b226ff4b

Fixed a bug introduced by the string format conversions.

Debugger/VariablesViewer.py file | annotate | diff | comparison | revisions
diff -r 69aac6eeba9b -r d5a0302040e9 Debugger/VariablesViewer.py
--- a/Debugger/VariablesViewer.py	Sat Jul 31 17:17:07 2010 +0200
+++ b/Debugger/VariablesViewer.py	Sat Jul 31 18:58:43 2010 +0200
@@ -180,7 +180,7 @@
         element 10 with a key of '000010'
         """
         keyStr = self.text(0)
-        self.arrayElementKey = "{0:.6d}".format(int(keyStr))
+        self.arrayElementKey = "{0:6d}".format(int(keyStr))
 
     def key(self, column):
         """
@@ -217,7 +217,7 @@
         element 10 with a key of '000010'
         """
         keyStr = self.text(0)[:-2] # strip off [], () or {}
-        self.arrayElementKey = "{0:.6d}".format(int(keyStr))
+        self.arrayElementKey = "{0:6d}".format(int(keyStr))
 
     def key(self, column):
         """

eric ide

mercurial