support py3
manage.py should use the correct interpreter when installing devstack Change-Id: I78e352db36553ddfab8498efdf712aa806047fc5
This commit is contained in:
parent
41b379877a
commit
49cffd1c18
@ -21,7 +21,7 @@ function configure_heat_dashboard {
|
||||
# NOTE: If locale directory does not exist, compilemessages will fail,
|
||||
# so check for an existence of locale directory is required.
|
||||
if [ -d ${HEAT_DASHBOARD_DIR}/heat_dashboard/locale ]; then
|
||||
(cd ${HEAT_DASHBOARD_DIR}/heat_dashboard; DJANGO_SETTINGS_MODULE=openstack_dashboard.settings ../manage.py compilemessages)
|
||||
(cd ${HEAT_DASHBOARD_DIR}/heat_dashboard; DJANGO_SETTINGS_MODULE=openstack_dashboard.settings $PYTHON ../manage.py compilemessages)
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
||||
|
||||
# Default to Horizons test settings to avoid any missing keys
|
||||
import heat_dashboard.enabled
|
||||
import openstack_dashboard.enabled
|
||||
|
||||
from openstack_dashboard.test.settings import * # noqa: F403,H303
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user