mirror of
https://git.yoctoproject.org/meta-zephyr
synced 2026-09-19 03:49:30 +02:00
When multiple locations can provide modules in the same package, the search path needs to be extended with pkgutil.extend_path. Otherwise the search will end early and not iterate through each of the providers. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
4 lines
148 B
Python
4 lines
148 B
Python
# This is needed so that multiple locations can provide the same package
|
|
from pkgutil import extend_path
|
|
__path__ = extend_path(__path__, __name__)
|