1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2025-01-05 20:04:38 +03:00

lib/fmt/comments.py: removed unused print()

This commit is contained in:
Igor Chubin 2019-05-18 14:31:57 +00:00
parent e07346217e
commit 0243dce889

View File

@ -232,7 +232,6 @@ def _beautify(text, filetype, add_comments=False, remove_text=False):
# We shift the code if and only if we either convert the text into comments
# or remove the text completely. Otherwise the code has to remain aligned
unindent_code = add_comments or remove_text
print(unindent_code)
lines = [x.rstrip('\n') for x in text.splitlines()]
lines = _cleanup_lines(lines)