aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pym/gentoolkit/revdep_rebuild/analyse.py')
-rw-r--r--pym/gentoolkit/revdep_rebuild/analyse.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/gentoolkit/revdep_rebuild/analyse.py b/pym/gentoolkit/revdep_rebuild/analyse.py
index 7ddd5e9..6ca3f10 100644
--- a/pym/gentoolkit/revdep_rebuild/analyse.py
+++ b/pym/gentoolkit/revdep_rebuild/analyse.py
@@ -76,7 +76,7 @@ def extract_dependencies_from_la(la, libraries, to_check, logger):
libnames = []
for lib in libraries:
- match = re.match('.+\/(.+)\.(so|la|a)(\..+)?', lib)
+ match = re.match(r'.+\/(.+)\.(so|la|a)(\..+)?', lib)
if match is not None:
libname = match.group(1)
if libname not in libnames:
@@ -90,7 +90,7 @@ def extract_dependencies_from_la(la, libraries, to_check, logger):
encoding=_encodings['content']).readlines():
line = line.strip()
if line.startswith('dependency_libs='):
- match = re.match("dependency_libs='([^']+)'", line)
+ match = re.match(r"dependency_libs='([^']+)'", line)
if match is not None:
for el in match.group(1).split(' '):
el = el.strip()