[noarch/intel] fix typo in check_unwanted_deps
This commit is contained in:
parent
89c95b14a0
commit
548683a297
@ -110,7 +110,7 @@ def check_unwanted_deps():
|
|||||||
if dep_slot == unwanted_slot:
|
if dep_slot == unwanted_slot:
|
||||||
write_attention_msg(
|
write_attention_msg(
|
||||||
"%s contains forbidden dependency against %s" % (
|
"%s contains forbidden dependency against %s" % (
|
||||||
pkg_atom, pkg_deps_map[unwanted_dep][1]))
|
pkg_atom, dep))
|
||||||
func_rc = 2
|
func_rc = 2
|
||||||
|
|
||||||
for warning_dep in warning_deps:
|
for warning_dep in warning_deps:
|
||||||
@ -132,7 +132,7 @@ def check_unwanted_deps():
|
|||||||
if dep_slot == warning_slot:
|
if dep_slot == warning_slot:
|
||||||
write_attention_msg(
|
write_attention_msg(
|
||||||
"%s contains a weirdo dependency against %s" % (
|
"%s contains a weirdo dependency against %s" % (
|
||||||
pkg_atom, pkg_deps_map[warning_dep][1]))
|
pkg_atom, dep))
|
||||||
if func_rc == 0:
|
if func_rc == 0:
|
||||||
func_rc = 1
|
func_rc = 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user