Attempt to fix sponsorship detection for new source packages

This commit is contained in:
Iain Lane 2009-08-09 15:06:56 +01:00
parent 087fac7ede
commit e54ee2d25a

View File

@ -501,14 +501,14 @@ if __name__ == '__main__':
sys.exit(1)
# -s flag not specified - check if we do need sponsorship.
if (not newsource):
if (not sponsorship):
sponsorship = checkNeedsSponsorship(srcpkg)
else:
sponsorship = PersonTeam.getMe().isLpTeamMember('motu') # assume going to universe
if (not sponsorship):
if (not newsource):
sponsorship = checkNeedsSponsorship(srcpkg)
else:
sponsorship = not PersonTeam.getMe().isLpTeamMember('motu') # assume going to universe
# Check for existing package reports.
if not newsource and use_lp_bugs: checkExistingReports(srcpkg)
if (not newsource) and use_lp_bugs: checkExistingReports(srcpkg)
# Generate bug report.
subscribe = 'ubuntu-archive'