aboutsummaryrefslogtreecommitdiff
path: root/checklines.py3
diff options
context:
space:
mode:
authorMark Shoulson <mark@kli.org>2017-03-30 16:58:57 -0400
committerMark Shoulson <mark@kli.org>2017-03-30 16:58:57 -0400
commit7c60065fe7ffb5829e5fbb20441c273fb479bb4b (patch)
treeb6d7fa020fd27638f18ab4a6260f66b4ac710be3 /checklines.py3
parentComments fixed for compatibility with composefuse. (diff)
downloaddotXCompose-7c60065fe7ffb5829e5fbb20441c273fb479bb4b.tar.gz
dotXCompose-7c60065fe7ffb5829e5fbb20441c273fb479bb4b.tar.bz2
dotXCompose-7c60065fe7ffb5829e5fbb20441c273fb479bb4b.zip
Revert "Comments fixed for compatibility with composefuse."
This reverts commit fcd33da6ed86884ba2b1e6103b848759d4d31eb6. ComposeFUSE doesn't need this special treatment anymore. Leaving the commit in place though.
Diffstat (limited to 'checklines.py3')
-rwxr-xr-xchecklines.py35
1 files changed, 0 insertions, 5 deletions
diff --git a/checklines.py3 b/checklines.py3
index 33258b1..e38bba1 100755
--- a/checklines.py3
+++ b/checklines.py3
@@ -28,10 +28,5 @@ for line in sys.stdin:
print("\tLine's number: {0:X}".format(x))
print("\tChar gives number: {0:X}".format(ord(char)))
print("\tNumber gives character: {0} ({1})".format(c, name(c)))
- elif comments[1]!='#' and comments[1:].strip() != name(char):
- # Only report name issues if other stuff is okay.
- print(line)
- print("\tLine's char, name: {0} ({1})".format(char, comments[1:].strip()))
- print("\tCorrect name: "+name(char))
except Exception as e:
print("{0}\n\t{1}".format(line, e))