prscript: fix error message in non local test

Indicate to user that non local test needs a github user.
pull/1405/head
Eric Leblond 10 years ago committed by Victor Julien
parent 8a0ebc4ade
commit 0b64b992c9

@ -71,6 +71,11 @@ username = args.username
password = args.password
cookie = None
if not args.local:
if not args.username:
print "You need to specify a github username (-u option) for this mode (or use -l to disable)"
sys.exit(-1)
if GOT_DOCKER:
if args.create or args.start or args.stop:
args.docker = True

Loading…
Cancel
Save