diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-08-03 14:07:06 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-08-03 14:07:06 -0500 |
commit | 162b3eab0ef619928dce5457f9ce7c358f5b34db (patch) | |
tree | 8c393d821a5b2d100849db5aed07507ac2443aea /labels.py | |
parent | 13dfbba8d21b843cc3bb871ed06088ca72cde8c3 (diff) | |
parent | e707c064f8046e6ed384d43bb16fba50354a159a (diff) |
Merge branch 'fix-tabs' into master
Diffstat (limited to 'labels.py')
-rw-r--r-- | labels.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |