Closed develmaycare closed 7 years ago
Losing getstatusoutput()
in Python 3 has become a really pesky problem. The replacement options pose problems especially with complex commands. shell_command
seemed like the best answer, but something more may need to be done to handle git commands.
Curiously, I'm not seeing this error in the sandbox. Only when invoked from the command line install. Also, I have confirmed this error appears for statproject
as well.
Getting this error after migrating from
commands.getstatusoutput()
toshell_command
:fatal: Not a git repository (or any of the parent directories): .git