aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2008-07-17 12:25:46 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2008-07-17 12:25:46 +0000
commit73bef7b3b7a6c1d7c2c2d1b0dfad52e7d7bfa9ab (patch)
tree73533557adda10439d1909c4ca7e9c1c8be757e5
parent5d9cf5d6c8da267be11d3a39d297c2e9b2b9cf8a (diff)
downloadmgarepo-73bef7b3b7a6c1d7c2c2d1b0dfad52e7d7bfa9ab.tar
mgarepo-73bef7b3b7a6c1d7c2c2d1b0dfad52e7d7bfa9ab.tar.gz
mgarepo-73bef7b3b7a6c1d7c2c2d1b0dfad52e7d7bfa9ab.tar.bz2
mgarepo-73bef7b3b7a6c1d7c2c2d1b0dfad52e7d7bfa9ab.tar.xz
mgarepo-73bef7b3b7a6c1d7c2c2d1b0dfad52e7d7bfa9ab.zip
Oops, typo
-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