mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-06 14:49:05 +00:00
Removing trailing whitespaces (PEP8)
This commit is contained in:
@@ -365,7 +365,7 @@ def start():
|
||||
# a warning message to the user in case the page is not stable
|
||||
checkStability()
|
||||
|
||||
# Do a little prioritization reorder of a testable parameter list
|
||||
# Do a little prioritization reorder of a testable parameter list
|
||||
parameters = conf.parameters.keys()
|
||||
|
||||
# Order of testing list (last to first)
|
||||
|
||||
@@ -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:])
|
||||
|
||||
@@ -17,8 +17,8 @@ class HTTPRangeHandler(urllib2.BaseHandler):
|
||||
Reference: http://stackoverflow.com/questions/1971240/python-seek-on-remote-file
|
||||
|
||||
This was extremely simple. The Range header is a HTTP feature to
|
||||
begin with so all this class does is tell urllib2 that the
|
||||
"206 Partial Content" response from the HTTP server is what we
|
||||
begin with so all this class does is tell urllib2 that the
|
||||
"206 Partial Content" response from the HTTP server is what we
|
||||
expected.
|
||||
|
||||
Example:
|
||||
|
||||
Reference in New Issue
Block a user