mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Replacing old and deprecated raise Exception style (PEP8)
This commit is contained in:
@@ -40,7 +40,7 @@ def blockingReadFromFD(fd):
|
||||
break
|
||||
|
||||
if not output:
|
||||
raise EOFError, "fd %s has been closed." % fd
|
||||
raise EOFError("fd %s has been closed." % fd )
|
||||
|
||||
return output
|
||||
|
||||
|
||||
Reference in New Issue
Block a user