[python-bugzilla] [PATCH] Fix version(s) typo
Cole Robinson
crobinso at redhat.com
Tue Feb 12 18:26:35 UTC 2013
On 02/12/2013 01:08 PM, Richard Marko wrote:
> Signed-off-by: Richard Marko <rmarko at redhat.com>
> ---
> bugzilla/rhbugzilla.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/bugzilla/rhbugzilla.py b/bugzilla/rhbugzilla.py
> index a7c14ff..dffcbdc 100644
> --- a/bugzilla/rhbugzilla.py
> +++ b/bugzilla/rhbugzilla.py
> @@ -184,7 +184,7 @@ class RHBugzilla(Bugzilla42):
> if 'version' in bug:
> val = bug['version']
> bug['versions'] = type(val) is list and val or [val]
> - bug['version'] = bug['version'][0]
> + bug['version'] = bug['versions'][0]
>
> if not self.rhbz_back_compat:
> return
>
Oops, my bad. Thanks for the patch Richard, pushed now.
Since you've sent two patches in as many days, I'm wondering if you have
anything else in the works? I'm planning on cutting a new release this week,
so if you have something else pending I wouldn't want it to miss the boat.
- Cole
More information about the python-bugzilla
mailing list