Commit 1ac4759f authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Fix parsing branch

parent 83cd97f8
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -166,7 +166,7 @@ def parse_branch_from_log(gitlog):
    Returns the current git branch or None if the last commit is not parsed
    '''
    branch = re.search(r"(origin/)(\d+(\.?\d)+)(-dev)",gitlog)
    branch_master = re.search(r"(origin/)(master)",master)
    branch_master = re.search(r"(origin/)(master)",gitlog)

    if bool(branch):
        return branch.group(2)