3
0
mirror of https://git.launchpad.net/ubuntu-dev-tools synced 2025-03-13 08:01:09 +00:00

added comment about porting checkNeedsSponsorship() from py-lp-bugs to launchpadlib

This commit is contained in:
Markus Korn 2009-01-07 09:37:41 +01:00
parent cbae36502c
commit 4845fcea2d

@ -52,6 +52,11 @@ def checkNeedsSponsorship(component):
The prepareLaunchpadCookie function above shall ensure that a cookie The prepareLaunchpadCookie function above shall ensure that a cookie
file exists first. file exists first.
""" """
# TODO: use launchpadlib here
# Once LP: #313233 has been fixed this can be implemented by either:
# >>> me = launchpad.me
# >>> me.inTeam(<TEAM>) #or
# >>> me in <TEAM>
urlopener = common.setupLaunchpadUrlOpener(launchpad_cookiefile) urlopener = common.setupLaunchpadUrlOpener(launchpad_cookiefile)
# Check where the package is and assign the appropriate variables. # Check where the package is and assign the appropriate variables.