From 47522f2fcbdcd280a8d26f5558821af71a334057 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Mon, 18 Aug 2008 13:41:10 -0400 Subject: Fix possible string formatting bug --- bugzilla/bugzilla3.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bugzilla') 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 -- cgit