Removes several pylint warnings.

This patche removes 93 pylint deprecation warnings due to invalid escape
sequences (mostly 'invalid escape sequence \d') on unicode strings.

Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Rafael Guterres Jeffman authored and Christian Heimes committed 2019-09-27 09:38:32 +02:00
1 parent bc53544c6f
commit c898be1df9
32 files changed
+84 -77

No files matched your search

+1 -1
View File
@@ -554,7 +554,7 @@ class NSSDatabase:
chain = result.output.splitlines()
for c in chain:
m = re.match('\s*"(.*)" \[.*', c)
m = re.match(r'\s*"(.*)" \[.*', c)
if m:
root_nicknames.append(m.groups()[0])