diff roundup/admin.py @ 3640:eab067227e81

Seems like node ids in the verbose option aren't integers. Fixed the format string for verbose printing. But this *had* worked for me before...
author Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
date Sat, 15 Jul 2006 10:15:17 +0000
parents 31c79e3aa600
children ba06fb4030d0
line wrap: on
line diff
--- a/roundup/admin.py	Sat Jul 15 10:11:09 2006 +0000
+++ b/roundup/admin.py	Sat Jul 15 10:15:17 2006 +0000
@@ -16,7 +16,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 #
-# $Id: admin.py,v 1.100 2006-07-15 10:04:32 schlatterbeck Exp $
+# $Id: admin.py,v 1.101 2006-07-15 10:15:17 schlatterbeck Exp $
 
 '''Administration commands for maintaining Roundup trackers.
 '''
@@ -1099,7 +1099,7 @@
             # all nodes for this class
             for nodeid in cl.getnodeids():
                 if self.verbose:
-                    sys.stdout.write ('Exporting %s - %d\r'%(classname, nodeid))
+                    sys.stdout.write ('Exporting %s - %s\r'%(classname, nodeid))
                     sys.stdout.flush ()
                 writer.writerow(cl.export_list(propnames, nodeid))
                 if hasattr(cl, 'export_files'):
@@ -1169,7 +1169,7 @@
                     continue
 
                 if self.verbose :
-                    sys.stdout.write('Importing %s - %d\r'%(classname, n))
+                    sys.stdout.write('Importing %s - %s\r'%(classname, n))
                     sys.stdout.flush()
 
                 # do the import and figure the current highest nodeid

Roundup Issue Tracker: http://roundup-tracker.org/