diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-11-09 23:31:31 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-11-10 00:03:23 +0100 |
commit | 45beff50c9e6c9358080c7a81234c6d98bbd7fac (patch) | |
tree | 7df9a22cb8efb6aa5869710a6306baf4ba8c9a79 /bin | |
parent | 4855946a5e40747a4ccecf17ba80c8bdbdd8c969 (diff) |
get-bugzilla-attachments-by-mimetype: fix the lanuchpadlib mess
Apparently somebody found it a good idea to remove the getBugTasks()
method. Also the darn thing won't run on Python 3. So apparently it's
mostly unmaintained, except that functions that we need are removed.
For future reference: it can be installed on non-Ubuntu systems by:
pip install -v --user launchpadlib
Change-Id: Ib7b0a46011dffcfe091f5bb73ed19b9dc311046c
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/get-bugzilla-attachments-by-mimetype | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/get-bugzilla-attachments-by-mimetype b/bin/get-bugzilla-attachments-by-mimetype index 994e0839811c..e3fb177cde14 100755 --- a/bin/get-bugzilla-attachments-by-mimetype +++ b/bin/get-bugzilla-attachments-by-mimetype @@ -179,7 +179,7 @@ def get_launchpad_bugs(prefix): #since searching bugs having attachments with specific mimetypes is not available in launchpad API #we're iterating over all bugs of the libreoffice source package libo = ubuntu.getSourcePackage(name="libreoffice") - libobugs = libo.getBugTasks() + libobugs = libo.searchTasks() for bugtask in libobugs: bug = bugtask.bug |