1
0
forked from VimPlug/jedi

Remove print statements that are not needed.

This commit is contained in:
Dave Halter
2017-04-02 21:43:30 +02:00
parent 7ecaf19b59
commit 9f1dda04c0

View File

@@ -228,7 +228,6 @@ def _remove_last_newline(node):
text = text[:-1] text = text[:-1]
if prefix: if prefix:
endmarker.prefix = text endmarker.prefix = text
print(endmarker.start_pos)
if leaf is None: if leaf is None:
end_pos = (1, 0) end_pos = (1, 0)
@@ -241,7 +240,6 @@ def _remove_last_newline(node):
else: else:
end_pos = end_pos[0] + len(lines) - 1, len(lines[-1]) end_pos = end_pos[0] + len(lines) - 1, len(lines[-1])
endmarker.start_pos = end_pos endmarker.start_pos = end_pos
print(endmarker.start_pos)
else: else:
leaf.value = text leaf.value = text
endmarker.start_pos = leaf.end_pos endmarker.start_pos = leaf.end_pos