mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
Run harvest in sponsor-patch --fixes lp:833699
This commit is contained in:
parent
6f5982b9a7
commit
7c994cefee
@ -28,6 +28,7 @@ import launchpadlib.launchpad
|
||||
from devscripts.logger import Logger
|
||||
|
||||
from ubuntutools import subprocess
|
||||
from ubuntutools.harvest import Harvest
|
||||
from ubuntutools.update_maintainer import update_maintainer
|
||||
from ubuntutools.question import Question, YesNoQuestion, input_number
|
||||
|
||||
@ -479,6 +480,11 @@ def sponsor_patch(bug_number, build, builder, edit, keyid, lpinstance, update,
|
||||
lintian_file.writelines(report)
|
||||
lintian_file.close()
|
||||
|
||||
# Run harvest
|
||||
harvest = Harvest(task.package)
|
||||
if harvest.data:
|
||||
print harvest.report()
|
||||
|
||||
# Upload package
|
||||
if upload:
|
||||
print "Please check %s %s carefully:\nfile://%s\nfile://%s" % \
|
||||
|
Loading…
x
Reference in New Issue
Block a user