def runParsed(self, cli_obj, name, args):
        try:
            files = self.__getDiffFiles(cli_obj, args)
        except NoCurrentEntryError, ex:
            cli_obj.outputError(ex)
            return 1
        except git.NoSuchBlobError, ex:
            # Convert the "blob" error message to "file", just to be more
            # user-friendly for developers who aren't familiar with git
            # terminology.
            cli_obj.outputError('no such file %r' % (ex.name,))
            return 1
        except git.NotABlobError, ex:
            cli_obj.outputError('not a file %r' % (ex.name,))
            return 1

        cmd = cli_obj.getDiffCommand(*files)
        try:
            p = subprocess.Popen(cmd)
        except __HOLE__, ex:
            cli_obj.outputError('failed to invoke %r: %s' % (cmd[0], ex))
            return 1

        ret = p.wait()
        cli_obj.setSuggestedCommand('next')
        return ret
dataset/ETHPy150Open facebookarchive/git-review/src/gitreview/review/cli_reviewer.py/DiffCommand.runParsed