mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
More tweaking on --update
This commit is contained in:
parent
051db588a5
commit
5c58747740
|
@ -218,15 +218,14 @@ def __updateSqlmap():
|
|||
|
||||
def notify(event_dict):
|
||||
action = str(event_dict['action'])
|
||||
index = action.find('_')
|
||||
prefix = action[index + 1].upper() if index != -1 else action.capitalize()
|
||||
|
||||
if action.find('_update') != -1:
|
||||
return
|
||||
|
||||
index = action.find('_')
|
||||
prefix = action[index + 1].upper() if index != -1 else action.capitalize()
|
||||
|
||||
if action.find('_completed') == -1:
|
||||
print "%s %s" % (prefix, event_dict['path'])
|
||||
print "%s\t%s" % (prefix, event_dict['path'])
|
||||
else:
|
||||
revision = str(event_dict['revision'])
|
||||
index = revision.find('number ')
|
||||
|
|
Loading…
Reference in New Issue
Block a user