mirror of
https://github.com/peridotbuild/pv2.git
synced 2024-11-21 20:51: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
|
# Check that the spec file really has %autochangelog
|
||||||
AUTOCHANGELOG = False
|
AUTOCHANGELOG = False
|
||||||
for line in source_git_repo_spec:
|
for line in source_git_repo_spec:
|
||||||
if re.search('^%autochangelog', line):
|
if re.search(r'^%autochangelog', line):
|
||||||
print('autochangelog found')
|
print('autochangelog found')
|
||||||
AUTOCHANGELOG = True
|
AUTOCHANGELOG = True
|
||||||
# It was easier to do this then reimplement logic
|
# It was easier to do this then reimplement logic
|
||||||
|
Loading…
Reference in New Issue
Block a user