mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-29 08:10:36 +00:00
remove used assert method outside of test
This commit is contained in:
parent
9cb5b734ab
commit
f0f5e20a23
@ -27,9 +27,9 @@ colorama.init(autoreset=True, strip=not _should_do_markup())
|
|||||||
|
|
||||||
def flag_extra(extra):
|
def flag_extra(extra):
|
||||||
"""Ensure extra args are prefixed."""
|
"""Ensure extra args are prefixed."""
|
||||||
assert isinstance(extra, dict)
|
|
||||||
|
|
||||||
flagged = dict()
|
flagged = dict()
|
||||||
|
|
||||||
|
if isinstance(extra, dict):
|
||||||
for key, value in iteritems(extra):
|
for key, value in iteritems(extra):
|
||||||
flagged["later_" + key] = value
|
flagged["later_" + key] = value
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user