From d8ba6ea3b5d5dc7a80050cf4955e7588609a1d21 Mon Sep 17 00:00:00 2001 From: Bogdano Arendartchuk Date: Thu, 17 Jul 2008 12:23:33 +0000 Subject: Pulled a couple of get_submit_info fixes --- RepSys/commands/submit.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'RepSys/commands/submit.py') diff --git a/RepSys/commands/submit.py b/RepSys/commands/submit.py index f1726dc..f2f1cdb 100644 --- a/RepSys/commands/submit.py +++ b/RepSys/commands/submit.py @@ -62,9 +62,11 @@ def parse_options(): parser.add_option("--define", action="append") opts, args = parser.parse_args() if not args: - name, rev = get_submit_info(".") - args = name, str(rev) - print "submitting %s at revision %s..." % args + name, url, rev = get_submit_info(".") + args = url, str(rev) + #FIXME bad place for output + print "Submitting %s at revision %s" % (name, rev) + print "URL: " + url elif len(args) > 2: raise Error, "invalid arguments" opts.pkgdirurl = default_parent(args[0]) -- cgit v1.2.1