format style
Former-commit-id: 53b683531b83cd1d19de97c6565f16c1eca6f5e1
This commit is contained in:
@@ -9,7 +9,7 @@ def is_package_available(name: str) -> bool:
|
||||
def get_package_version(name: str) -> str:
|
||||
try:
|
||||
return importlib.metadata.version(name)
|
||||
except:
|
||||
except Exception:
|
||||
return "0.0.0"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user