mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +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)
|
||||
retVal = match.group(0) if match else None
|
||||
break
|
||||
else:
|
||||
break
|
||||
|
||||
if not retVal:
|
||||
process = execute("git rev-parse --verify HEAD", shell=True, stdout=PIPE, stderr=PIPE)
|
||||
|
|
Loading…
Reference in New Issue
Block a user