Fix comparison
This commit is contained in:
parent
c21ced350d
commit
acd4822d52
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ def emerge_packages(module, packages):
|
|||
if p[flag]:
|
||||
args.append(arg)
|
||||
|
||||
if 'usepkg' in p and 'usepkgonly' in p:
|
||||
if p['usepkg'] and p['usepkgonly']:
|
||||
module.fail_json(msg='Use only one of usepkg, usepkgonly')
|
||||
|
||||
cmd, (rc, out, err) = run_emerge(module, packages, *args)
|
||||
|
|
Loading…
Reference in a new issue