strict typing, change colors a bit, architecture depending lock

This commit is contained in:
2021-03-13 16:57:58 +03:00
parent 9410c521a1
commit 4b98b21a70
12 changed files with 45 additions and 25 deletions

View File

@ -24,7 +24,7 @@ from typing import Optional
def check_output(*args: str, exception: Optional[Exception],
cwd = None, stderr: int = subprocess.STDOUT,
cwd: Optional[str] = None, stderr: int = subprocess.STDOUT,
logger: Optional[Logger] = None) -> str:
try:
result = subprocess.check_output(args, cwd=cwd, stderr=stderr).decode('utf8').strip()