Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5d10bae

Browse files
committed
Removing trailing blank lines
1 parent e021677 commit 5d10bae

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

lib/core/option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1373,7 +1373,7 @@ def _setHTTPUserAgent():
13731373
infoMsg = "fetched random HTTP User-Agent header from "
13741374
infoMsg += "file '%s': '%s'" % (paths.USER_AGENTS, userAgent)
13751375
logger.info(infoMsg)
1376-
1376+
13771377
conf.httpHeaders.append((HTTP_HEADER.USER_AGENT, userAgent))
13781378

13791379
def _setHTTPReferer():

lib/techniques/union/use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def unionThread():
277277
with kb.locks.value:
278278
if all(map(lambda _: _ in output, (kb.chars.start, kb.chars.stop))):
279279
items = parseUnionPage(output)
280-
280+
281281
if threadData.shared.showEta:
282282
threadData.shared.progress.progress(time.time() - valueStart, threadData.shared.counter)
283283
if isListLike(items):

lib/utils/xrange.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(self, *args):
2828
self._slice = slice(*args)
2929
if self._slice.stop is None:
3030
raise TypeError("xrange stop must not be None")
31-
31+
3232
@property
3333
def start(self):
3434
if self._slice.start is not None:
@@ -75,10 +75,10 @@ def __getitem__(self, index):
7575
fixed_index = index + self._len()
7676
else:
7777
fixed_index = index
78-
78+
7979
if not 0 <= fixed_index < self._len():
8080
raise IndexError("Index %d out of %r" % (index, self))
81-
81+
8282
return self._index(fixed_index)
8383
else:
8484
raise TypeError("xrange indices must be slices or integers")

plugins/dbms/db2/enumeration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class Enumeration(GenericEnumeration):
1313
def __init__(self):
1414
GenericEnumeration.__init__(self)
15-
15+
1616
def getPasswordHashes(self):
1717
warnMsg = "on DB2 it is not possible to list password hashes"
1818
logger.warn(warnMsg)

plugins/dbms/hsqldb/fingerprint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def checkDbms(self):
7777
version 1.8.0.4 Added org.hsqldbdb.Library function, getDatabaseFullProductVersion to return the
7878
full version string, including the 4th digit (e.g 1.8.0.4).
7979
version 1.7.2 CASE statements added and INFORMATION_SCHEMA
80-
80+
8181
"""
8282

8383
if not conf.extensiveFp and (Backend.isDbmsWithin(HSQLDB_ALIASES) \

tamper/between.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ def tamper(payload, **kwargs):
5454
if match:
5555
_ = "%s %s BETWEEN %s AND %s" % (match.group(2), match.group(4), match.group(5), match.group(5))
5656
retVal = retVal.replace(match.group(0), _)
57-
57+
5858

5959
return retVal

thirdparty/colorama/winterm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def get_position(self, handle):
7373
position.X += 1
7474
position.Y += 1
7575
return position
76-
76+
7777
def set_cursor_position(self, position=None, on_stderr=False):
7878
if position is None:
7979
#I'm not currently tracking the position, so there is no default.

0 commit comments

Comments
 (0)