(self, command, *a, **kw)
| 212 | return out.rstrip("\n").split("\n") |
| 213 | |
| 214 | def test(self, command, *a, **kw): |
| 215 | ret = self._call(command, a, {"stdout": subprocess.PIPE, |
| 216 | "stderr": subprocess.PIPE}, |
| 217 | call=True, **kw) |
| 218 | return (ret == 0) |
| 219 | |
| 220 | |
| 221 | git = Cmd("git") |