requestsync: Call isLpTeamMember() from the correct object

This commit is contained in:
Michael Bienia 2009-08-09 13:20:13 +02:00
parent c060c48ec8
commit 17c36f9107

View File

@ -505,7 +505,7 @@ if __name__ == '__main__':
if (not sponsorship): if (not sponsorship):
sponsorship = checkNeedsSponsorship(srcpkg) sponsorship = checkNeedsSponsorship(srcpkg)
else: else:
sponsorship = LpApiWrapper.isLpTeamMember('motu') # assume going to universe sponsorship = 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)