[PATCH] common: Remove probably superfluous import

Chris Johns chrisj at rtems.org
Wed Jul 8 01:11:34 UTC 2020


On 7/7/20 3:29 pm, Sebastian Huber wrote:
> The purpose of this import is unclear.
> 
> This import caused the following error with Sphinx 3.0:
> 
> Extension error:
> Could not import extension rtemsdomain (exception: cannot import name 'l_')
> ---
>  common/rtemsdomain.py | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/common/rtemsdomain.py b/common/rtemsdomain.py
> index 49d0728..9b092a3 100644
> --- a/common/rtemsdomain.py
> +++ b/common/rtemsdomain.py
> @@ -3,7 +3,6 @@ from docutils.parsers.rst import directives
>  
>  from sphinx import addnodes
>  from sphinx.roles import XRefRole
> -from sphinx.locale import l_, _

Is this backwards compatible?

Chris


More information about the devel mailing list