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

Skip to content

Commit 6adee37

Browse files
committed
removed all trailing spaces from blank lines
1 parent 977df72 commit 6adee37

29 files changed

Lines changed: 121 additions & 122 deletions

File tree

extra/clientform/clientform.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,7 @@ def __str__(self):
12791279

12801280
def get_labels(self):
12811281
"""Return all labels (Label instances) for this control.
1282-
1282+
12831283
If the control was surrounded by a <label> tag, that will be the first
12841284
label; all other labels, connected by 'for' and 'id', are in the order
12851285
that appear in the HTML.
@@ -1622,12 +1622,12 @@ def __init__(self, control, attrs, index=None):
16221622

16231623
def get_labels(self):
16241624
"""Return all labels (Label instances) for this item.
1625-
1625+
16261626
For items that represent radio buttons or checkboxes, if the item was
16271627
surrounded by a <label> tag, that will be the first label; all other
16281628
labels, connected by 'for' and 'id', are in the order that appear in
16291629
the HTML.
1630-
1630+
16311631
For items that represent select options, if the option had a label
16321632
attribute, that will be the first label. If the option has contents
16331633
(text within the option tags) and it is not the same as the label
@@ -1936,9 +1936,9 @@ def _set_selected_state(self, item, action):
19361936

19371937
def toggle_single(self, by_label=None):
19381938
"""Deprecated: toggle the selection of the single item in this control.
1939-
1939+
19401940
Raises ItemCountError if the control does not contain only one item.
1941-
1941+
19421942
by_label argument is ignored, and included only for backwards
19431943
compatibility.
19441944
@@ -1953,9 +1953,9 @@ def toggle_single(self, by_label=None):
19531953

19541954
def set_single(self, selected, by_label=None):
19551955
"""Deprecated: set the selection of the single item in this control.
1956-
1956+
19571957
Raises ItemCountError if the control does not contain only one item.
1958-
1958+
19591959
by_label argument is ignored, and included only for backwards
19601960
compatibility.
19611961
@@ -2067,7 +2067,7 @@ def fixup(self):
20672067
# RFC 1866 if the _select_default attribute is set, and Netscape and IE
20682068
# otherwise. RFC 1866 and HTML 4 are always violated insofar as you
20692069
# can deselect all items in a RadioControl.
2070-
2070+
20712071
for o in self.items:
20722072
# set items' controls to self, now that we've merged
20732073
o.__dict__["_control"] = self

extra/cloak/cloak.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def main():
5656

5757
except (OptionError, TypeError), e:
5858
parser.error(e)
59-
59+
6060
if not os.path.isfile(args.inputFile):
6161
print 'ERROR: the provided input file \'%s\' is not a regular file' % args.inputFile
6262
sys.exit(1)

extra/dbgtool/dbgtool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def convert(inputFile):
5858
script += "w\nq\n"
5959

6060
return script
61-
61+
6262
def main(inputFile, outputFile):
6363
if not os.path.isfile(inputFile):
6464
print "ERROR: the provided input file '%s' is not a regular file" % inputFile
@@ -73,7 +73,7 @@ def main(inputFile, outputFile):
7373
sys.stdout.close()
7474
else:
7575
print script
76-
76+
7777
if __name__ == "__main__":
7878
usage = "%s -i <input file> [-o <output file>]" % sys.argv[0]
7979
parser = OptionParser(usage=usage, version="0.1")

0 commit comments

Comments
 (0)