Merge 68ce992f79119ad53b9f7f8dea7c53164804e728 into b3d0b4443baf5da952f3135bd017ff1e60e654bb

This commit is contained in:
Emmanuel Ferdman 2025-05-26 09:58:39 +03:00 committed by GitHub
commit f4c365d9ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -147,7 +147,7 @@ def get_all_imports(path, encoding="utf-8", extra_ignore_dirs=None, follow_links
except Exception as exc: except Exception as exc:
if ignore_errors: if ignore_errors:
traceback.print_exc() traceback.print_exc()
logging.warn("Failed on file: %s" % file_name) logging.warning("Failed on file: %s" % file_name)
continue continue
else: else:
logging.error("Failed on file: %s" % file_name) logging.error("Failed on file: %s" % file_name)