summaryrefslogtreecommitdiff
path: root/labels.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-08-03 14:04:13 -0500
committerBryan Bishop <kanzure@gmail.com>2013-08-03 14:04:13 -0500
commite707c064f8046e6ed384d43bb16fba50354a159a (patch)
tree8c393d821a5b2d100849db5aed07507ac2443aea /labels.py
parentfc931b7f270705e03f66a039047c459af33564da (diff)
remove dangling whitespace in source code files
Diffstat (limited to 'labels.py')
-rw-r--r--labels.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/labels.py b/labels.py
index 8b4df16..19b11e6 100644
--- a/labels.py
+++ b/labels.py
@@ -11,11 +11,11 @@ from pointers import (
def remove_quoted_text(line):
"""get rid of content inside quotes
and also removes the quotes from the input string"""
- while line.count("\"") % 2 == 0 and line.count("\"") > 0:
+ while line.count("\"") % 2 == 0 and line.count("\"") > 0:
first = line.find("\"")
second = line.find("\"", first+1)
line = line[0:first] + line[second+1:]
- while line.count("\'") % 2 == 0 and line.count("'") > 0:
+ while line.count("\'") % 2 == 0 and line.count("'") > 0:
first = line.find("\'")
second = line.find("\'", first+1)
line = line[0:first] + line[second+1:]
@@ -153,7 +153,7 @@ def line_has_label(line):
return False
if ":" not in line:
return False
- if line[0] == ";":
+ if line[0] == ";":
return False
if line[0] == "\"":
return False