From 99035af3e977ed6fbde06be71fd07cce25fffd0c Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Mon, 4 Mar 2024 17:09:33 -0700 Subject: [PATCH] regex fixes --- pv2/importer/operation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pv2/importer/operation.py b/pv2/importer/operation.py index 3a4fc12..cf7c206 100644 --- a/pv2/importer/operation.py +++ b/pv2/importer/operation.py @@ -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