summaryrefslogtreecommitdiffstats
path: root/bugzilla
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2008-08-18 13:41:10 -0400
committerWill Woods <wwoods@redhat.com>2008-08-18 13:41:10 -0400
commit47522f2fcbdcd280a8d26f5558821af71a334057 (patch)
tree07359d16f1ebec45af69353231963e56bff7dfb9 /bugzilla
parent7328a5650d39e6d77c0a6b3ad7cb059de4242316 (diff)
downloadpython-bugzilla-47522f2fcbdcd280a8d26f5558821af71a334057.zip
python-bugzilla-47522f2fcbdcd280a8d26f5558821af71a334057.tar.gz
python-bugzilla-47522f2fcbdcd280a8d26f5558821af71a334057.tar.xz
Fix possible string formatting bug
Diffstat (limited to 'bugzilla')
-rw-r--r--bugzilla/bugzilla3.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bugzilla/bugzilla3.py b/bugzilla/bugzilla3.py
index 602c49c..a06e58c 100644
--- a/bugzilla/bugzilla3.py
+++ b/bugzilla/bugzilla3.py
@@ -275,7 +275,8 @@ class RHBugzilla32(Bugzilla32):
else:
r = self._getbug(id)
if which not in r:
- raise ValueError, "No such whiteboard %s in bug %i" % (which,id)
+ raise ValueError, "No such whiteboard %s in bug %s" %
+ (which,str(id))
wb = r[which]
if action == 'prepend':
update[which] = text+' '+wb