Loading robot2doc/create_sols.py +1 −1 Original line number Diff line number Diff line Loading @@ -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) Loading Loading
robot2doc/create_sols.py +1 −1 Original line number Diff line number Diff line Loading @@ -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) Loading