diff options
Diffstat (limited to 'RepSys')
-rw-r--r-- | RepSys/commands/submit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RepSys/commands/submit.py b/RepSys/commands/submit.py index 36a8ef6..aefe1ff 100644 --- a/RepSys/commands/submit.py +++ b/RepSys/commands/submit.py @@ -98,7 +98,7 @@ def parse_options(): args = expanded opts.urls = [layout.package_url(nameurl, distro=opts.distro, mirrored=False) for nameurl in args] - if opts.target is None and distro is None: + if opts.target is None and opts.distro is None: target = layout.distro_branch(opts.urls[0]) or DEFAULT_TARGET print "Implicit target: %s" % target opts.target = target |