Remove the comment class that was not needed.

This commit is contained in:
Dave Halter
2017-07-08 19:06:46 +02:00
parent 93ee3e3146
commit 0486ed9a9c

View File

@@ -29,17 +29,6 @@ class CompressNormalizer(Normalizer):
return leaf.prefix + leaf.value
class Comment(object):
def __init__(self, comment_part, indentation_part):
self.comment_part = comment_part
self.indentation_part = indentation_part
if indentation_part is None:
self.indentation = ''
else:
self.indentation = indentation_part.value
self.start_pos = self.comment_part.start_pos
class IndentationTypes(object):
VERTICAL_BRACKET = object()
HANGING_BRACKET = object()