comparison python/setup_repo.py @ 400:8964b285c2f7

typo
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 30 Jul 2013 02:54:51 -0700
parents fd0e81fdf1fa
children f652f9d4765b
comparison
equal deleted inserted replaced
399:48f710449993 400:8964b285c2f7
42 parser.add_option('-m', '--message', dest='message', 42 parser.add_option('-m', '--message', dest='message',
43 help='commit message') 43 help='commit message')
44 parser.add_option('-u', '--remote-url', dest='remote_url', 44 parser.add_option('-u', '--remote-url', dest='remote_url',
45 default="http://k0s.org/hg/", 45 default="http://k0s.org/hg/",
46 help="URL of host hg repository collection [Default: %default]") 46 help="URL of host hg repository collection [Default: %default]")
47 parser.add_options('-p', '--remote-path', dest='remote_path', 47 parser.add_option('-p', '--remote-path', dest='remote_path',
48 help="remote path of hg repository links; otherwise taken from --remote-url, if specified") 48 help="remote path of hg repository links; otherwise taken from --remote-url, if specified")
49 options, args = parser.parse_args(args) 49 options, args = parser.parse_args(args)
50 if len(args) != 1: 50 if len(args) != 1:
51 parser.print_usage() 51 parser.print_usage()
52 parser.exit() 52 parser.exit()
53 # TODO: sanity check for remote_url, remote_path 53 # TODO: sanity check for remote_url, remote_path