~brian-murray/+junk/arsenal

« back to all changes in this revision

Viewing changes to scripts/ls-tag-json.py

  • Committer: Bryce Harrington
  • Date: 2010-03-10 01:15:11 UTC
  • mfrom: (353.1.1 master)
  • Revision ID: bryce@canonical.com-20100310011511-b4k6zpwe9xubphpf
die() is perl!

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
from lpltoolkit import *
6
6
 
7
7
if len(sys.argv) < 3:
8
 
    die("Usage: " + sys.argv[0] + " <tag> <source-package>\n")
 
8
    print >>sys.stderr, "Usage: " + sys.argv[0] + " <tag> <source-package>\n"
 
9
    sys.exit(1)
9
10
 
10
11
total_count = 0
11
12
tag         = sys.argv[1]