diff options
Diffstat (limited to 'gbp/scripts/import_srpm.py')
-rwxr-xr-x | gbp/scripts/import_srpm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/import_srpm.py b/gbp/scripts/import_srpm.py index 88ca4819..2806e59e 100755 --- a/gbp/scripts/import_srpm.py +++ b/gbp/scripts/import_srpm.py @@ -382,7 +382,7 @@ def main(argv): # for both upstream sources and packaging files author = None if spec.packager: - match = re.match('(?P<name>.*[^ ])\s*<(?P<email>\S*)>', + match = re.match(r'(?P<name>.*[^ ])\s*<(?P<email>\S*)>', spec.packager.strip()) if match: author = GitModifier(match.group('name'), match.group('email')) |