mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Minor patches
This commit is contained in:
parent
a7931751ee
commit
f8f57e1030
7 changed files with 63 additions and 11 deletions
|
|
@ -12,6 +12,9 @@ import subprocess
|
|||
def getRevisionNumber():
|
||||
"""
|
||||
Returns abbreviated commit hash number as retrieved with "git rev-parse --short HEAD"
|
||||
|
||||
>>> len(getRevisionNumber() or (' ' * 7)) == 7
|
||||
True
|
||||
"""
|
||||
|
||||
retVal = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue