4b5b4a760c
* Use context managers for interacting with files * Account for empty string as regexp Rather than explicitly testing for None, also test for an empty string which will evaluate to False. An empty string regexp matches every line, which ends up replacing the incorrect line. * Store line parameter in a variable * Add tests |
||
---|---|---|
.. | ||
files | ||
meta | ||
tasks | ||
vars | ||
aliases |