~ubuntu-branches/ubuntu/quantal/charm-tools/quantal

« back to all changes in this revision

Viewing changes to scripts/list

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-07-23 13:52:08 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20120723135208-55bdkt9jj6kthm47
Tags: 0.3+151-0ubuntu1
* New upstream release.
* build-dep on python-yaml so charm proof tests can be run.
* buid-dep on python-apt and python-cheetah to enable new upstream
  tests.
* d/charm-tools.install: Install etc/* to pick up bash completion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env python
2
2
 
3
3
from launchpadlib.launchpad import Launchpad
 
4
import sys
 
5
 
 
6
if len(sys.argv) > 1:
 
7
    print('usage: list [ --help ]')
 
8
    if sys.argv[1] == '--help':
 
9
        sys.exit(0)
 
10
    else:
 
11
        sys.exit(1)
4
12
 
5
13
lp = Launchpad.login_anonymously('charm-tools', 'production', version='devel')
6
14
charm = lp.distributions['charms']