Merge "Catch all exceptions from pbr when importing the root package"

This commit is contained in:
Zuul 2021-12-06 11:15:50 +00:00 committed by Gerrit Code Review
commit bf18bbc080

View File

@ -17,8 +17,8 @@ try:
__version__ = pbr.version.VersionInfo(
'bifrost').version_string()
except ImportError:
pass # Allow the CLI to work without pbr installed
except Exception:
pass # Allow the CLI to work without pbr installed or with it failing
__all__ = [
'inventory'