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

Skip to content

Commit 03be9f9

Browse files
committed
Minor removal of blank lines
1 parent d9d0865 commit 03be9f9

4 files changed

Lines changed: 19 additions & 19 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.5.31"
22+
VERSION = "1.0.5.32"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

thirdparty/bottle/bottle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def getargspec(func):
9595
return (args, varargs, keywords, tuple(defaults) or None)
9696
except ImportError:
9797
from inspect import getargspec
98-
98+
9999
try:
100100
from simplejson import dumps as json_dumps, loads as json_lds
101101
except ImportError: # pragma: no cover

thirdparty/pydes/pyDes.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
bytes of the unencrypted data block.
6060
padmode -> Optional argument, set the padding mode, must be one of PAD_NORMAL
6161
or PAD_PKCS5). Defaults to PAD_NORMAL.
62-
62+
6363
6464
Example
6565
-------
@@ -153,7 +153,7 @@ def setPadding(self, pad):
153153
def getPadMode(self):
154154
"""getPadMode() -> pyDes.PAD_NORMAL or pyDes.PAD_PKCS5"""
155155
return self._padmode
156-
156+
157157
def setPadMode(self, mode):
158158
"""Sets the type of padding mode, pyDes.PAD_NORMAL or pyDes.PAD_PKCS5"""
159159
self._padmode = mode
@@ -188,7 +188,7 @@ def _padData(self, data, pad, padmode):
188188
if not pad:
189189
raise ValueError("Data must be a multiple of " + str(self.block_size) + " bytes in length. Use padmode=PAD_PKCS5 or set the pad character.")
190190
data += (self.block_size - (len(data) % self.block_size)) * pad
191-
191+
192192
elif padmode == PAD_PKCS5:
193193
pad_len = 8 - (len(data) % self.block_size)
194194
if _pythonMajorVersion < 3:
@@ -454,7 +454,7 @@ def __BitList_to_String(self, data):
454454
def __permutate(self, table, block):
455455
"""Permutate this block with the specified table"""
456456
return list(map(lambda x: block[x], table))
457-
457+
458458
# Transform the secret key, so that it is ready for data processing
459459
# Create the 16 subkeys, K[1] - K[16]
460460
def __create_sub_keys(self):
@@ -554,7 +554,7 @@ def __des_crypt(self, block, crypt_type):
554554

555555
i += 1
556556
iteration += iteration_adjustment
557-
557+
558558
# Final permutation of R[16]L[16]
559559
self.final = self.__permutate(des.__fp, self.R + self.L)
560560
return self.final
@@ -597,7 +597,7 @@ def crypt(self, data, crypt_type):
597597
# result.append(dict[data[i:i+8]])
598598
# i += 8
599599
# continue
600-
600+
601601
block = self.__String_to_BitList(data[i:i+8])
602602

603603
# Xor with IV if using CBC mode

thirdparty/xdot/xdot.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ def __init__(self, parser, buf):
522522
self.parser = parser
523523
self.buf = buf
524524
self.pos = 0
525-
525+
526526
self.pen = Pen()
527527
self.shapes = []
528528

@@ -616,7 +616,7 @@ def lookup_color(self, c):
616616
b = b*s
617617
a = 1.0
618618
return r, g, b, a
619-
619+
620620
sys.stderr.write("warning: unknown color '%s'\n" % c)
621621
return None
622622

@@ -691,7 +691,7 @@ def parse(self):
691691
sys.exit(1)
692692

693693
return self.shapes
694-
694+
695695
def transform(self, x, y):
696696
return self.parser.transform(x, y)
697697

@@ -763,7 +763,7 @@ def __init__(self, msg=None, filename=None, line=None, col=None):
763763

764764
def __str__(self):
765765
return ':'.join([str(part) for part in (self.filename, self.line, self.col, self.msg) if part != None])
766-
766+
767767

768768
class Scanner:
769769
"""Stateless scanner."""
@@ -1007,7 +1007,7 @@ def filter(self, type, text):
10071007
text = text.replace('\\\r\n', '')
10081008
text = text.replace('\\\r', '')
10091009
text = text.replace('\\\n', '')
1010-
1010+
10111011
# quotes
10121012
text = text.replace('\\"', '"')
10131013

@@ -1151,7 +1151,7 @@ class XDotParser(DotParser):
11511151
def __init__(self, xdotcode):
11521152
lexer = DotLexer(buf = xdotcode)
11531153
DotParser.__init__(self, lexer)
1154-
1154+
11551155
self.nodes = []
11561156
self.edges = []
11571157
self.shapes = []
@@ -1188,7 +1188,7 @@ def handle_graph(self, attrs):
11881188
self.height = max(ymax - ymin, 1)
11891189

11901190
self.top_graph = False
1191-
1191+
11921192
for attr in ("_draw_", "_ldraw_", "_hdraw_", "_tdraw_", "_hldraw_", "_tldraw_"):
11931193
if attr in attrs:
11941194
parser = XDotAttrParser(self, attrs[attr])
@@ -1219,7 +1219,7 @@ def handle_edge(self, src_id, dst_id, attrs):
12191219
pos = attrs['pos']
12201220
except KeyError:
12211221
return
1222-
1222+
12231223
points = self.parse_edge_pos(pos)
12241224
shapes = []
12251225
for attr in ("_draw_", "_ldraw_", "_hdraw_", "_tdraw_", "_hldraw_", "_tldraw_"):
@@ -1987,7 +1987,7 @@ def textentry_changed(self, widget, entry):
19871987
if not entry_text:
19881988
dot_widget.set_highlight(None)
19891989
return
1990-
1990+
19911991
found_items = self.find_text(entry_text)
19921992
dot_widget.set_highlight(found_items)
19931993

@@ -1997,7 +1997,7 @@ def textentry_activate(self, widget, entry):
19971997
if not entry_text:
19981998
dot_widget.set_highlight(None)
19991999
return;
2000-
2000+
20012001
found_items = self.find_text(entry_text)
20022002
dot_widget.set_highlight(found_items)
20032003
if(len(found_items) == 1):
@@ -2015,7 +2015,7 @@ def set_xdotcode(self, xdotcode, filename=None):
20152015
if self.widget.set_xdotcode(xdotcode):
20162016
self.update_title(filename)
20172017
self.widget.zoom_to_fit()
2018-
2018+
20192019
def update_title(self, filename=None):
20202020
if filename is None:
20212021
self.set_title(self.base_title)

0 commit comments

Comments
 (0)