Advertisement
Guest User

Untitled

a guest
Jan 28th, 2013
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from launchpadlib.launchpad import Launchpad
  2. from time import sleep
  3. launchpad = Launchpad.login_anonymously("elementary-build-from-bzr", "production")
  4. daily_ppa = launchpad.load("~elementary-os/+archive/daily")
  5. sleep (1)
  6. branch = launchpad.branches.getByUrl(url="lp:launchpad")
  7. sleep (1)
  8. recipe_collection = branch.recipes
  9. for recipe in recipe_collection:
  10.     sleep (1)
  11.     if recipe.daily_build_archive == daily_ppa:
  12.         sleep (1)
  13.         print recipe.recipe_text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement