mirror of
https://github.com/peridotbuild/pv2.git
synced 2024-11-21 12:41:26 +00:00
regex fixes
This commit is contained in:
parent
90aa3e2016
commit
99035af3e9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user