Skip to content

Commit 1961cbc

Browse files
author
Ralf Schlatterbeck
committed
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...
1 parent 7ecaa60 commit 1961cbc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

roundup/admin.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
19-
# $Id: admin.py,v 1.100 2006-07-15 10:04:32 schlatterbeck Exp $
19+
# $Id: admin.py,v 1.101 2006-07-15 10:15:17 schlatterbeck Exp $
2020

2121
'''Administration commands for maintaining Roundup trackers.
2222
'''
@@ -1099,7 +1099,7 @@ class colon_separated(csv.excel):
10991099
# all nodes for this class
11001100
for nodeid in cl.getnodeids():
11011101
if self.verbose:
1102-
sys.stdout.write ('Exporting %s - %d\r'%(classname, nodeid))
1102+
sys.stdout.write ('Exporting %s - %s\r'%(classname, nodeid))
11031103
sys.stdout.flush ()
11041104
writer.writerow(cl.export_list(propnames, nodeid))
11051105
if hasattr(cl, 'export_files'):
@@ -1169,7 +1169,7 @@ class colon_separated(csv.excel):
11691169
continue
11701170

11711171
if self.verbose :
1172-
sys.stdout.write('Importing %s - %d\r'%(classname, n))
1172+
sys.stdout.write('Importing %s - %s\r'%(classname, n))
11731173
sys.stdout.flush()
11741174

11751175
# do the import and figure the current highest nodeid

0 commit comments

Comments
 (0)