diff --git a/openstack_dashboard/management/commands/extract_messages.py b/openstack_dashboard/management/commands/extract_messages.py index 13b7ad0e8c..29a70cb959 100644 --- a/openstack_dashboard/management/commands/extract_messages.py +++ b/openstack_dashboard/management/commands/extract_messages.py @@ -13,11 +13,12 @@ # limitations under the License. # pylint: disable=import-error,deprecated-module -from distutils.dist import Distribution import os from subprocess import call from django.core.management.base import BaseCommand +from setuptools.dist import Distribution + DOMAINS = ['django', 'djangojs'] MODULES = ['openstack_dashboard', 'horizon', 'openstack_auth']