Merge pull request #28 from RightBrain-Networks/bugfix/len-expression

move > outside len
This commit is contained in:
Derek DeJonghe
2019-12-16 16:20:26 -05:00
committed by GitHub

View File

@ -66,7 +66,7 @@ class SemVer(object):
merged_prefix = None merged_prefix = None
matches = re.findall("[\/][^\/]+[\/]", self.merged_branch) matches = re.findall("[\/][^\/]+[\/]", self.merged_branch)
if len(matches > 1): if len(matches) > 1:
merged_prefix = matches[1][1:-1] merged_prefix = matches[1][1:-1]
if merged_prefix: if merged_prefix: