remove used assert method outside of test

This commit is contained in:
Robert Kaussow 2019-04-11 11:57:30 +02:00
parent 9cb5b734ab
commit f0f5e20a23
2 changed files with 23 additions and 23 deletions

View File

@ -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