DebugClients/Python3/DebugClientBase.py

changeset 406
eacf81fad150
parent 126
7902c9178ee0
child 692
5c2d7b6d47cb
diff -r 374066392929 -r eacf81fad150 DebugClients/Python3/DebugClientBase.py
--- a/DebugClients/Python3/DebugClientBase.py	Sun Jul 25 17:08:39 2010 +0200
+++ b/DebugClients/Python3/DebugClientBase.py	Mon Jul 26 15:45:23 2010 +0200
@@ -1485,7 +1485,7 @@
             varlist.append(("user", "str", "{0}".format(value.userName())))
             varlist.append(("password", "str", "{0}".format(value.password())))
             varlist.append(("host", "str", "{0}".format(value.host())))
-            varlist.append(("port", "int", "%d" % value.port()))
+            varlist.append(("port", "int", "{0:d}".format(value.port())))
             varlist.append(("path", "str", "{0}".format(value.path())))
         elif qttype == 'QModelIndex':
             varlist.append(("valid", "bool", "{0}".format(value.isValid())))

eric ide

mercurial