Commit 5e4752c3 authored by Tim Lauridisen's avatar Tim Lauridisen

Changed the CLI option to active the skip-broken from '--ignore-broken' to...

Changed the CLI option to active the skip-broken from '--ignore-broken' to '--skip-broken', because it make more sense.
parent 0a213afd
......@@ -83,7 +83,7 @@ def config_hook(conduit):
'''
parser = conduit.getOptParser()
if parser:
parser.add_option("", "--ignore-broken", dest="ignorebroken",
parser.add_option("", "--skip-broken", dest="skipbroken",
action="store_true", default=False,
help="skip packages with broken dependencies")
......@@ -94,8 +94,8 @@ def preresolve_hook(conduit):
only runs if then '--ignore-broken' was set.
'''
opts, commands = conduit.getCmdLine()
if hasattr(opts,'ignorebroken'):
if opts.ignorebroken:
if hasattr(opts,'skipbroken'):
if opts.skipbroken:
# get yum base
conduit.info(2,'Checking packages for dependency problems')
base = conduit._base
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment