From e707c064f8046e6ed384d43bb16fba50354a159a Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sat, 3 Aug 2013 14:04:13 -0500 Subject: remove dangling whitespace in source code files --- labels.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'labels.py') 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 -- cgit v1.2.3