Tasks/TaskViewer.py

changeset 428
58405c24aa09
parent 248
f4561c24989a
child 458
1695e7a2db54
--- a/Tasks/TaskViewer.py	Thu Jul 29 08:50:45 2010 +0200
+++ b/Tasks/TaskViewer.py	Thu Jul 29 11:02:09 2010 +0200
@@ -68,7 +68,7 @@
             self.filename = self.project.getRelativePath(self.filename)
             
         QTreeWidgetItem.__init__(self, ["", "", self.description, self.filename, 
-            (self.lineno and "%6d" % self.lineno or "")])
+            (self.lineno and "{0:6d}".format(self.lineno) or "")])
         
         if self.completed:
             self.setIcon(0, UI.PixmapCache.getIcon("taskCompleted.png"))

eric ide

mercurial