def __del__(self):
        '''Attempt to clean up'''
        if self.plist:
            launchctl_cmd = ['/bin/launchctl', 'unload', self.plist_path]
            dummy_result = subprocess.call(launchctl_cmd)
        try:
            self.stdout.close()
            self.stderr.close()
        except AttributeError:
            pass
        try:
            os.unlink(self.plist_path)
            os.unlink(self.stdout_path)
            os.unlink(self.stderr_path)
        except (OSError, __HOLE__):
            pass
dataset/ETHPy150Open munki/munki/code/client/munkilib/launchd.py/Job.__del__