612d0d6634
The generated file was completely unusable by the system therefore the fix which ensures that diffing the file prior to changes and after only shows diffs Furthermore the code did not work for Python 3.6 > f.writelines(to_bytes(lines, errors='surrogate_or_strict')) E TypeError: a bytes-like object is required, not 'int' The other modifications (lambda variable renaming) is to comply with default flake8 rules |
||
---|---|---|
.. | ||
interfaces_file | ||
__init__.py | ||
test_iptables.py | ||
test_known_hosts.py | ||
test_linux_mountinfo.py | ||
test_pamd.py | ||
test_parted.py | ||
test_systemd.py |