Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def dbnd_system_bootstrap():
global _dbnd_system_bootstrap
if _dbnd_system_bootstrap:
return
try:
_dbnd_system_bootstrap = True
# prevent recursive call, problematic on exception
init_databand_env()
if not in_quiet_mode():
logger.info("Starting Databand %s!\n%s", dbnd.__version__, _env_banner())
from databand import dbnd_config
dbnd_config.load_system_configs()
except Exception:
_dbnd_system_bootstrap = False
raise