Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from launchpadlib.launchpad import Launchpad
- from time import sleep
- launchpad = Launchpad.login_anonymously("elementary-build-from-bzr", "production")
- sleep (1)
- daily_ppa = launchpad.load("~elementary-os/+archive/daily")
- sleep (1)
- daily_ppa_link = daily_ppa.self_link
- sleep (1)
- branch = launchpad.branches.getByUrl(url="lp:launchpad")
- sleep (1)
- recipe_collection = branch.recipes
- sleep (1)
- for recipe in recipe_collection:
- sleep (1)
- current_ppa = recipe.daily_build_archive
- sleep (1)
- current_ppa_link = current_ppa.self_link
- sleep (1)
- if current_ppa_link == daily_ppa_link:
- sleep (1)
- print recipe.recipe_text
- sleep (1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement