mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-20 18:54:02 +00:00
Minor bug fix
This commit is contained in:
parent
a86f9798b2
commit
b9ac50faef
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue