put some properties before the initializer

This commit is contained in:
Brian Stinson 2015-07-19 21:42:41 -05:00
parent 47c4aa0677
commit 86b0d36840

View file

@ -25,6 +25,11 @@ from . import cli
class DistGitDirectory(object):
signame = None
centosversion = None
projectname = None
releasename = None
def __init__(self, branchtext):
sigtobranchre = r'sig-(?P<signame>\w+)(?P<centosversion>\d)-?(?P<projectname>\w+)?-?(?P<releasename>\w+)?'
match = re.match(sigtobranchre, branchtext)