Browse Source

Switch to py3 syntax for dictionary contains test

Change-Id: Ia57576b7dd7ba7f1dd34cd4f17942fbf753ea6f8
changes/53/742553/1
Sam Morrison 2 weeks ago
parent
commit
8fe073043a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      muranodashboard/local/local_settings.d/_50_murano.py

+ 1
- 1
muranodashboard/local/local_settings.d/_50_murano.py View File

@@ -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



Loading…
Cancel
Save