regex fixes

This commit is contained in:
Louis Abel 2024-03-04 17:09:33 -07:00
parent 90aa3e2016
commit 99035af3e9
Signed by: label
GPG Key ID: 2A6975660E424560
1 changed files with 1 additions and 1 deletions

View File

@ -815,7 +815,7 @@ class GitImport(Import):
# Check that the spec file really has %autochangelog
AUTOCHANGELOG = False
for line in source_git_repo_spec:
if re.search('^%autochangelog', line):
if re.search(r'^%autochangelog', line):
print('autochangelog found')
AUTOCHANGELOG = True
# It was easier to do this then reimplement logic