mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Replacing old and deprecated raise Exception style (PEP8)
This commit is contained in:
@@ -165,7 +165,7 @@ def runThreads(numThreads, threadFunction, cleanupFunction=None, forwardExceptio
|
||||
pass
|
||||
|
||||
except KeyboardInterrupt:
|
||||
raise SqlmapThreadException, "user aborted (Ctrl+C was pressed multiple times)"
|
||||
raise SqlmapThreadException("user aborted (Ctrl+C was pressed multiple times)")
|
||||
|
||||
if forwardException:
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user