aboutsummaryrefslogtreecommitdiffstats
path: root/RepSys/commands/submit.py
diff options
context:
space:
mode:
Diffstat (limited to 'RepSys/commands/submit.py')
-rw-r--r--RepSys/commands/submit.py2
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