SHOW:
|
|
- or go back to the newest paste.
1 | from launchpadlib.launchpad import Launchpad | |
2 | launchpad = Launchpad.login_anonymously('GrabIt', 'production') | |
3 | - | for recipe in launchpad.branches.getByUrl(url="lp:pantheon-terminal").recipes |
3 | + | for recipe in launchpad.branches.getByUrl(url="lp:pantheon-terminal").recipes: |
4 | - | # check .daily_build_archive_link for each, and if it points to elementary daily PPA, print the .recipe_text |
4 | + | if recipe.daily_build_archive.web_link == "https://launchpad.net/~elementary-os/+archive/daily": |
5 | print recipe.recipe_text |