def _getOpenFiles(self):
        fddir = os.path.join('/proc', str(os.getpid()), 'fd')
        ret = []
        for fdnum in os.listdir(fddir):
            try:
                rf = os.readlink(os.path.join(fddir, fdnum))
            except __HOLE__:
                continue
            if rf.startswith(self.tmpDir):
                ret.append(rf)
        return ret
dataset/ETHPy150Open sassoftware/conary/conary_test/updatetest.py/UpdateTest._getOpenFiles