mirror of https://github.com/ansible/ansible.git
Fix assert statement syntax
`assert (condition, message)` gets parsed by Python as `assert a_two_tuple`, and a 2-element tuple is never False. Discovered by compileall on Python 3.4, which emits a SyntaxWarning for this common mistake.pull/12119/head
parent
9e82ecaf91
commit
c846bab69b
Loading…
Reference in New Issue