patch[partners] Fix check_imports bugs in pinecone and milvus (#24971)

Fix wrong declared variables of `check_imports` in pinecone and milvus
This commit is contained in:
ZhangShenao 2024-08-02 21:27:11 +08:00 committed by GitHub
parent d7688a4328
commit c65e48996c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ if __name__ == "__main__":
try:
SourceFileLoader("x", file).load_module()
except Exception:
has_faillure = True
has_failure = True
print(file) # noqa: T201
traceback.print_exc()
print() # noqa: T201

View File

@ -9,7 +9,7 @@ if __name__ == "__main__":
try:
SourceFileLoader("x", file).load_module()
except Exception:
has_faillure = True
has_failure = True
print(file) # noqa: T201
traceback.print_exc()
print() # noqa: T201