30
31
def git_command(self, command, args):
31
return ['git', '--git-dir', self.git_dir, command] + args
33
34
def git_lines(self, command, args):
34
35
cmd = self.git_command(command, args)
35
38
p = subprocess.Popen(cmd,
38
42
lines = p.stdout.readlines()
40
44
raise errors.GitCommandError(cmd, p.returncode,