develmaycare / pyprojectutils

A collection of documentation and command line utilities for managing a software project.
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Git Fatal on List Projects #73

Closed develmaycare closed 7 years ago

develmaycare commented 7 years ago

Getting this error after migrating from commands.getstatusoutput() to shell_command:

fatal: Not a git repository (or any of the parent directories): .git

develmaycare commented 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.

develmaycare commented 7 years ago

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.