Skip to content

Commit fc29531

Browse files
author
Justus Pendleton
committed
use str instead of repr during roundup-admin display of values
Since we're displaying them for human consumption, str seems like a better choice. Unicode strings will now get displayed as something a human can read. should fix [SF#1692792]
1 parent acebcec commit fc29531

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roundup/admin.py

Lines changed: 2 additions & 2 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.108 2007-09-11 04:12:17 jpend Exp $
19+
# $Id: admin.py,v 1.109 2007-09-26 14:09:59 jpend Exp $
2020

2121
'''Administration commands for maintaining Roundup trackers.
2222
'''
@@ -756,7 +756,7 @@ def do_display(self, args):
756756
keys.sort()
757757
for key in keys:
758758
value = cl.get(nodeid, key)
759-
print _('%(key)s: %(value)r')%locals()
759+
print _('%(key)s: %(value)s')%locals()
760760

761761
def do_create(self, args):
762762
""'''Usage: create classname property=value ...

0 commit comments

Comments
 (0)