View difference between Paste ID: 66wpnQsj and sR7XKu3v
SHOW: | | - or go back to the newest paste.
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="'"$branch"'")
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