Ver código fonte

fix(commnds): Raise CalledProcessError if process returns non-zero exit code

version-14
Aditya Hase 5 anos atrás
pai
commit
7d65a557d1
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      frappe/commands/__init__.py

+ 1
- 1
frappe/commands/__init__.py Ver arquivo

@@ -62,7 +62,7 @@ def popen(command, *args, **kwargs):

return_ = proc.wait()

if raise_err:
if return_ and raise_err:
raise subprocess.CalledProcessError(return_, command)

return return_


Carregando…
Cancelar
Salvar