From c90e20587e1e3953bed26135ca51c087d81aee71 Mon Sep 17 00:00:00 2001 From: Evgeniy Alekseev Date: Mon, 28 Jun 2021 02:32:54 +0300 Subject: [PATCH] remove type: ignore for newest python --- src/ahriman/core/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ahriman/core/util.py b/src/ahriman/core/util.py index fc54b32e..db3f460a 100644 --- a/src/ahriman/core/util.py +++ b/src/ahriman/core/util.py @@ -41,7 +41,7 @@ def check_output(*args: str, exception: Optional[Exception], cwd: Optional[Path] """ try: # universal_newlines is required to read input from string - result: str = subprocess.check_output(args, cwd=cwd, input=input_data, stderr=subprocess.STDOUT, # type: ignore + result: str = subprocess.check_output(args, cwd=cwd, input=input_data, stderr=subprocess.STDOUT, universal_newlines=True).strip() if logger is not None: for line in result.splitlines():