~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/pgcreate.py

  • Committer: William Grant
  • Date: 2012-01-01 03:10:25 UTC
  • mto: This revision was merged to the branch mainline in revision 14614.
  • Revision ID: william.grant@canonical.com-20120101031025-pcl0na3sbgfrztcw
utilities

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
import sys
14
14
import time
 
15
 
15
16
import psycopg2
16
17
 
 
18
 
17
19
def main():
18
20
    if len(sys.argv) != 3:
19
21
        print >> sys.stderr, 'Usage: %s [template] [dbname]' % sys.argv[0]