[PATCH] Update makebumpver for python-bugzilla 1.0.0

Vratislav Podzimek vpodzime at redhat.com
Wed Apr 30 06:58:32 UTC 2014


On Tue, 2014-04-29 at 14:58 -0700, Brian C. Lane wrote:
> The new python-bugzilla changes the args for getBugzillaClassForURL,
> breaking the existing script. But also provides a more transparent way
> to pick the bugzilla class.
> ---
>  scripts/makebumpver | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/makebumpver b/scripts/makebumpver
> index 1556254..5b87974 100755
> --- a/scripts/makebumpver
> +++ b/scripts/makebumpver
> @@ -142,7 +142,7 @@ class MakeBumpVer:
>              if not self.password:
>                  self.password = getpass.getpass()
>  
> -            bzclass = bugzilla.getBugzillaClassForURL(self.bzurl)
> +            bzclass = bugzilla.Bugzilla
>              self.bz = bzclass(url=self.bzurl)
>              print
ACK.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list