mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-24 00:32:55 +00:00
put some properties before the initializer
This commit is contained in:
parent
47c4aa0677
commit
86b0d36840
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue