From 2227e6b1cdd301523ad8bde476a4afc0ba995f21 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Langa?= Date: Thu, 9 May 2019 04:49:48 +0200 Subject: [PATCH] Remove spurious prints --- black.py | 2 -- 1 file changed, 2 deletions(-) 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) -- 2.39.5