Source: ros2-ament-package
Version: 0.17.1-2
Severity: normal

Dear Maintainer,

In both cases, the standard library will be prefered:

Greetings,

Alexandre


ament_package/__init__.py-    try:
ament_package/__init__.py:        import importlib.metadata as 
importlib_metadata
ament_package/__init__.py-    except ModuleNotFoundError:
ament_package/__init__.py:        import importlib_metadata

ament_package/templates.py-try:
ament_package/templates.py:    import importlib.resources as importlib_resources
ament_package/templates.py-except ModuleNotFoundError:
ament_package/templates.py:    import importlib_resources

Reply via email to