Fix devstack plugin to work with Python 3

Change-Id: I5412454dc26491e7069c5375e9277595c82ee9f8
This commit is contained in:
Ivan Kolodyazhny 2019-03-14 18:36:12 +02:00
parent e2982c445d
commit fbf8a86a29

View File

@ -14,7 +14,7 @@ function configure_neutron_vpnaas_dashboard {
# so check for an existence of locale directory is required.
if [ -d $VPNAAS_DASHBOARD_DIR/neutron_vpnaas_dashboard/locale ]; then
(cd $VPNAAS_DASHBOARD_DIR/neutron_vpnaas_dashboard; \
DJANGO_SETTINGS_MODULE=openstack_dashboard.settings ../manage.py compilemessages)
DJANGO_SETTINGS_MODULE=openstack_dashboard.settings $PYTHON ../manage.py compilemessages)
fi
}