Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b9ac50f

Browse files
committed
Minor bug fix
1 parent a86f979 commit b9ac50f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/core/revision.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ def getRevisionNumber():
4242
match = re.match(r"(?i)[0-9a-f]{32}", content)
4343
retVal = match.group(0) if match else None
4444
break
45+
else:
46+
break
4547

4648
if not retVal:
4749
process = execute("git rev-parse --verify HEAD", shell=True, stdout=PIPE, stderr=PIPE)

0 commit comments

Comments
 (0)