Details
Description
It works fine on Python 3.5. However, you get the following output for Python 3.7:
python3 autoversion.py --check Traceback (most recent call last): File "autoversion.py", line 324, in <module> main() File "autoversion.py", line 321, in main walk_tree() File "autoversion.py", line 67, in walk_tree process_file(os.path.join(dirpath, file)) File "autoversion.py", line 132, in process_file process_line(line, replacements, new) File "autoversion.py", line 231, in process_line sep, all_removed, sep)) Exception: ./README-autoversion.markdown:48: Found version-looking string "2.2.0" in documentation line, not covered by any AUTOVERSION expression. Original line: ------------------------------------------------------------------------------- Joe User uses mender-artifact version 2.2.0, and likes it! ------------------------------------------------------------------------------- AUTOVERSION expressions in effect: "mender-artifact version %"/ignore Line after removing all AUTOVERSION matched sections: ------------------------------------------------------------------------------- Joe User uses mender-artifact version 2.2.0, and likes it! ------------------------------------------------------------------------------- See README-autoversion.markdown for more information.