mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-20 13:21:28 +00:00
Attempt to fix sponsorship detection for new source packages
This commit is contained in:
parent
087fac7ede
commit
e54ee2d25a
12
requestsync
12
requestsync
@ -501,14 +501,14 @@ if __name__ == '__main__':
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# -s flag not specified - check if we do need sponsorship.
|
# -s flag not specified - check if we do need sponsorship.
|
||||||
if (not newsource):
|
if (not sponsorship):
|
||||||
if (not sponsorship):
|
if (not newsource):
|
||||||
sponsorship = checkNeedsSponsorship(srcpkg)
|
sponsorship = checkNeedsSponsorship(srcpkg)
|
||||||
else:
|
else:
|
||||||
sponsorship = PersonTeam.getMe().isLpTeamMember('motu') # assume going to universe
|
sponsorship = not PersonTeam.getMe().isLpTeamMember('motu') # assume going to universe
|
||||||
|
|
||||||
# Check for existing package reports.
|
# 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.
|
# Generate bug report.
|
||||||
subscribe = 'ubuntu-archive'
|
subscribe = 'ubuntu-archive'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user