def close(self):
        if 'less' in self.cmd:
            self.write("press q to quit")
        if self.proc:
            self.file.close()
            try:
                self.proc.wait()
            except __HOLE__:
                sys.proc.kill()
                sys.exit(1)
dataset/ETHPy150Open jsmits/github-cli/src/github/utils.py/Pager.close