]> git.proxmox.com Git - mirror_ovs.git/commit
python: Fix invalid escape sequences.
authorBen Pfaff <blp@ovn.org>
Thu, 10 Jan 2019 23:23:45 +0000 (15:23 -0800)
committerBen Pfaff <blp@ovn.org>
Fri, 11 Jan 2019 16:45:04 +0000 (08:45 -0800)
commit145a7e88bbc71b65f4c5015436c9f086a19b5a4a
tree73a93c724bdceffa97580b97a7e33701a86d48fc
parent70506167a585e6334291de7a331324f0e58207ff
python: Fix invalid escape sequences.

It appears that Python silently treats invalid escape sequences in
strings as literals, e.g. "\." is the same as "\\.".  Newer versions of
checkpatch complain, and it does seem reasonable to me to fix these.

Acked-by: Numan Siddique <nusiddiq@redhat.com>
Tested-by: Numan Siddique <nusiddiq@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
python/build/nroff.py
python/ovs/db/schema.py
python/ovs/json.py
python/ovs/unixctl/__init__.py
python/ovs/util.py
python/ovs/vlog.py
tests/test-ovsdb.py
utilities/checkpatch.py
utilities/ovs-dev.py