diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py index 487f28028..73e421285 100644 --- a/babel/messages/frontend.py +++ b/babel/messages/frontend.py @@ -47,7 +47,7 @@ except ImportError: from distutils import log as distutils_log from distutils.cmd import Command as _Command - from distutils.errors import OptionError as OptionError, DistutilsSetupError as SetupError, DistutilsError as BaseError + from distutils.errors import DistutilsOptionError as OptionError, DistutilsSetupError as SetupError, DistutilsError as BaseError