web_link missing on bugs in production
Asked by
Stefano Rivera
#!/usr/bin/env python
from launchpadlib.
for instance in 'staging', 'production':
lp = Launchpad.
bugno = {'production': 729061, 'staging': 724768}[instance]
bug = lp.bugs[bugno]
print '%s: %r' % (instance, hasattr(bug, 'web_link'))
staging: True
production: False
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Stefano Rivera
- Solved:
- Last query:
- Last reply:
To post a message you must log in.