mirror of
https://github.com/dobin/SuperMega
synced 2026-06-02 17:27:10 +00:00
refactor: project.show_command_output to def:ShowCommandOutput
This commit is contained in:
@@ -54,7 +54,7 @@ def run_process_checkret(args, check=True):
|
||||
if ret.stderr != None:
|
||||
logger.info(ret.stderr.decode('utf-8'))
|
||||
raise Exception("Command failed: " + " ".join(args))
|
||||
if project.show_command_output:
|
||||
if ShowCommandOutput:
|
||||
logger.info("> " + " ".join(args))
|
||||
if ret.stdout != None:
|
||||
logger.info(ret.stdout.decode('utf-8'))
|
||||
|
||||
Reference in New Issue
Block a user