mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
Minor bug fix
This commit is contained in:
parent
a86f9798b2
commit
b9ac50faef
|
@ -42,6 +42,8 @@ def getRevisionNumber():
|
||||||
match = re.match(r"(?i)[0-9a-f]{32}", content)
|
match = re.match(r"(?i)[0-9a-f]{32}", content)
|
||||||
retVal = match.group(0) if match else None
|
retVal = match.group(0) if match else None
|
||||||
break
|
break
|
||||||
|
else:
|
||||||
|
break
|
||||||
|
|
||||||
if not retVal:
|
if not retVal:
|
||||||
process = execute("git rev-parse --verify HEAD", shell=True, stdout=PIPE, stderr=PIPE)
|
process = execute("git rev-parse --verify HEAD", shell=True, stdout=PIPE, stderr=PIPE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user