[python-bugzilla] Third try: Patch for bug dependencies

Cole Robinson crobinso at redhat.com
Wed Jan 2 13:01:56 UTC 2013


On 10/29/2012 11:36 AM, Bryan Kearney wrote:
> I sent a patch earlier which was incomplete. This patch adds, removes, and
> sets the values. Must be the hurricane :)
> 

Thanks Bryan, pushed now:

http://git.fedorahosted.org/cgit/python-bugzilla.git/commit/?id=726f6c15b1db7511891da7de41a713c194161bd2

Curious though, how did you hit this? Code inspection, or actually calling
that method? Since nothing in python-bugzilla actually calls that function,
and it's marked private with the leading underscore.

In current git that function has been removed. You can accomplish the same with

update = bz.build_query(...)
bz.update_bugs([list of bug ids], update)

you'll want one of the following arguments to build_update()

blocks_add
blocks_remove
blocks_set
depends_on_add
depends_on_remove
depends_on_set

- Cole


More information about the python-bugzilla mailing list