diff --git a/muranodashboard/local/local_settings.d/_50_murano.py b/muranodashboard/local/local_settings.d/_50_murano.py index ed02ab585..bb6df84ec 100644 --- a/muranodashboard/local/local_settings.d/_50_murano.py +++ b/muranodashboard/local/local_settings.d/_50_murano.py @@ -26,7 +26,7 @@ DISPLAY_MURANO_REPO_URL = 'http://apps.openstack.org/#tab=murano-apps' # DATABASES, if not, set it by murano. try: from openstack_dashboard.settings import DATABASES - DATABASES_CONFIG = DATABASES.has_key('default') + DATABASES_CONFIG = 'default' in DATABASES except ImportError: DATABASES_CONFIG = False