mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-16 04:39:06 +00:00
Removing trailing whitespaces (PEP8)
This commit is contained in:
@@ -24,7 +24,7 @@ class SORT_ORDER:
|
||||
|
||||
class DBMS:
|
||||
ACCESS = "Microsoft Access"
|
||||
DB2 = "IBM DB2"
|
||||
DB2 = "IBM DB2"
|
||||
FIREBIRD = "Firebird"
|
||||
MAXDB = "SAP MaxDB"
|
||||
MSSQL = "Microsoft SQL Server"
|
||||
|
||||
@@ -34,7 +34,7 @@ def blockingReadFromFD(fd):
|
||||
# Uncomment the following line if the process seems to
|
||||
# take a huge amount of cpu time
|
||||
# time.sleep(0.01)
|
||||
continue
|
||||
continue
|
||||
else:
|
||||
raise
|
||||
break
|
||||
@@ -52,9 +52,9 @@ def blockingWriteToFD(fd, data):
|
||||
wrote_data = os.write(fd, data)
|
||||
except (OSError, IOError), io:
|
||||
if io.errno in (errno.EAGAIN, errno.EINTR):
|
||||
continue
|
||||
continue
|
||||
else:
|
||||
raise
|
||||
raise
|
||||
|
||||
if wrote_data < data_length:
|
||||
blockingWriteToFD(fd, data[wrote_data:])
|
||||
|
||||
Reference in New Issue
Block a user