def _Cleanup(): for fname in GetCleanupFiles(): try: os.unlink(fname) except: # pylint: disable=bare-except pass
def _Cleanup(): for fname in GetCleanupFiles(): try: os.remove(fname) except OSError: pass