From: Ɓukasz Langa Date: Thu, 9 May 2019 02:49:48 +0000 (+0200) Subject: Remove spurious prints X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/2227e6b1cdd301523ad8bde476a4afc0ba995f21 Remove spurious prints --- diff --git a/black.py b/black.py index 2084e15..c96d205 100644 --- a/black.py +++ b/black.py @@ -3384,12 +3384,10 @@ class Report: def parse_ast(src: str) -> Union[ast3.AST, ast27.AST]: for feature_version in (7, 6): try: - print(f"-- 3.{feature_version}") return ast3.parse(src, feature_version=feature_version) except SyntaxError: continue - print(f"-- 2.7") return ast27.parse(src)