gbp.command_wrappers.GitCommand(Command) class documentationgbp.command_wrappers
(View In Hierarchy)
Mother/Father of all git commands
| Method | __init__ | Undocumented |
| Instance Variable | run_error | Undocumented |
Inherited from Command:
| Instance Variable | cmd | Undocumented |
| Instance Variable | args | Undocumented |
| Instance Variable | shell | Undocumented |
| Instance Variable | capture_stdout | Undocumented |
| Instance Variable | capture_stderr | Undocumented |
| Instance Variable | cwd | Undocumented |
| Instance Variable | env | Undocumented |
| Instance Variable | retcode | Undocumented |
| Instance Variable | stdout | Undocumented |
| Instance Variable | stderr | Undocumented |
| Instance Variable | err_reason | Undocumented |
| Method | __call__ | Run the command and raise exception on errors |
| Method | call | Like __call__ but let the caller handle the return status. |
| Static Method | _f | Build error string template |
| Method | _reset_state | Undocumented |
| Method | __call | Wraps subprocess.call so we can be verbose and fix Python's SIGPIPE handling |
| Method | _log_err | Log an error message |
| Method | _format_err | Log an error message |