Switch to py3 syntax for dictionary contains test
Change-Id: Ia57576b7dd7ba7f1dd34cd4f17942fbf753ea6f8
This commit is contained in:
parent
6def1495a5
commit
8fe073043a
|
@ -26,7 +26,7 @@ DISPLAY_MURANO_REPO_URL = 'http://apps.openstack.org/#tab=murano-apps'
|
||||||
# DATABASES, if not, set it by murano.
|
# DATABASES, if not, set it by murano.
|
||||||
try:
|
try:
|
||||||
from openstack_dashboard.settings import DATABASES
|
from openstack_dashboard.settings import DATABASES
|
||||||
DATABASES_CONFIG = DATABASES.has_key('default')
|
DATABASES_CONFIG = 'default' in DATABASES
|
||||||
except ImportError:
|
except ImportError:
|
||||||
DATABASES_CONFIG = False
|
DATABASES_CONFIG = False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue