Merge pull request #29 from RightBrain-Networks/bugfix/len-expression
list index out of range
This commit is contained in:
		@ -67,7 +67,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[0][1:-1]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if merged_prefix:
 | 
					        if merged_prefix:
 | 
				
			||||||
            for prefix in self.major_branches:
 | 
					            for prefix in self.major_branches:
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user