mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Minor patches
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user