[python-bugzilla] [PATCH] Fix version(s) typo
Richard Marko
rmarko at redhat.com
Thu Feb 14 11:08:57 UTC 2013
On 02/12/2013 07:26 PM, Cole Robinson wrote:
> 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
No, I don't have more patches. Everything else works as expected. Update
would be nice :)
Regards,
--
Richard Marko
More information about the python-bugzilla
mailing list