diff --git a/src/centpkg/__init__.py b/src/centpkg/__init__.py index 3667b98..bd09ce1 100644 --- a/src/centpkg/__init__.py +++ b/src/centpkg/__init__.py @@ -54,7 +54,7 @@ class DistGitDirectory(object): javabranchre = r"openjdk-portable-centos-(?P\d+)" oldbranchre = r"(?P\w+)(?P\d)" rhelmatch = re.search(rhelbranchre, branchtext) - sigmatch = re.match(sigtobranchre, branchtext) + sigmatch = re.search(sigtobranchre, branchtext) distromatch = re.match(distrobranchre, branchtext) javamatch = re.match(javabranchre, branchtext) oldbranchmatch = re.match(oldbranchre, branchtext)