Run harvest in sponsor-patch --fixes lp:833699

This commit is contained in:
Stefano Rivera 2011-09-04 00:44:50 +02:00
parent 6f5982b9a7
commit 7c994cefee

View File

@ -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" % \