]> git.ipfire.org Git - thirdparty/systemd.git/commit
python: use raw strings for regexp patterns 4797/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 1 Dec 2016 23:29:54 +0000 (18:29 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 2 Dec 2016 00:11:10 +0000 (19:11 -0500)
commitcda39975dc08a613cd7aad74217cc272aff5cc3b
tree4f28cd81f19beb8a16aff8dcb93fc7c5dc8216f1
parent8d9d1e3af0d4f67eb9b994291e88eace39fc8b99
python: use raw strings for regexp patterns

Behaviour is not changed, because "unknown" escapes like \s or \d were not
substituted, but it's much nicer to use raw strings to avoid ambiguity.
test/networkd-test.py
test/rule-syntax-check.py