mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Removing trailing whitespaces (PEP8)
This commit is contained in:
parent
82b468211d
commit
5b77b20e2e
9 changed files with 23 additions and 23 deletions
|
|
@ -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:])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue