Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 051db58 commit 5c58747Copy full SHA for 5c58747
1 file changed
lib/core/update.py
@@ -218,15 +218,14 @@ def __updateSqlmap():
218
219
def notify(event_dict):
220
action = str(event_dict['action'])
221
+ index = action.find('_')
222
+ prefix = action[index + 1].upper() if index != -1 else action.capitalize()
223
224
if action.find('_update') != -1:
225
return
226
- index = action.find('_')
- prefix = action[index + 1].upper() if index != -1 else action.capitalize()
227
-
228
if action.find('_completed') == -1:
229
- print "%s %s" % (prefix, event_dict['path'])
+ print "%s\t%s" % (prefix, event_dict['path'])
230
else:
231
revision = str(event_dict['revision'])
232
index = revision.find('number ')
0 commit comments