diff --git a/libs/codeintel2/database/stdlib.py b/libs/codeintel2/database/stdlib.py index 2ecaa68..0ca0bdd 100644 --- a/libs/codeintel2/database/stdlib.py +++ b/libs/codeintel2/database/stdlib.py @@ -525,8 +525,8 @@ def _update_lang_with_ver(self, lang, ver=None, progress_cb=None): try: zip_file = zipfile.ZipFile(cix_path+".zip") zip_file.extractall(path=self.stdlibs_dir) + zip_file.close() except Exception as ex: - print(ex) raise CodeIntelError("could not unzip stdlib") finally: os.remove(cix_path+".zip")