21
21
# Setup connection to launchpad
22
23
cachedir = os.path.expanduser("~/.launchpadlib/cache/")
23
24
credentials = Credentials()
26
27
launchpad = Launchpad(credentials, LPNET_SERVICE_ROOT)
28
29
launchpad = Launchpad.get_token_and_login(
29
30
'Offspring Image Build System', LPNET_SERVICE_ROOT, cachedir)
30
31
launchpad.credentials.save(
33
34
# Setup connection to database
37
38
for launchpad_project in store.find(LaunchpadProject):