You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Runing this on windows.
Doing an update of the template files.
Was unable to delete tempdir because it was not closed.
Adding close call, fixed the issue.
In file ibmsecurity-master\ibmsecurity\isam\aac\runtime_template\root.py
Added close call on line 76, before call to shutil.rmtree(tempdir) root.zip
def import_file(isamAppliance, filename, delete_missing=False, check_mode=False, force=False):
.....
else:
search_dir= os.path.dirname(x) + '/'
if search_dir not in missing_client_files:
logger.debug("delete file on the server: {0}.".format(x))
delete(isamAppliance, x, "file", check_mode=check_mode)
zServerFile.close()
shutil.rmtree(tempdir)
The text was updated successfully, but these errors were encountered:
Runing this on windows.
Doing an update of the template files.
Was unable to delete tempdir because it was not closed.
Adding close call, fixed the issue.
In file ibmsecurity-master\ibmsecurity\isam\aac\runtime_template\root.py
Added close call on line 76, before call to shutil.rmtree(tempdir)
root.zip
The text was updated successfully, but these errors were encountered: