[PATCH] rtemstoolkit: Fix imports and fix all unittests.
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Oct 5 05:19:37 UTC 2018
Hello Chris,
On 05/10/2018 06:24, chrisj at rtems.org wrote:
> -#
> -# Support to handle use in a package and as a unit test.
> -# If there is a better way to let us know.
> -#
> -try:
> - from . import error
> - from . import execute
> - from . import log
> - from . import options
> - from . import path
> - from . import version
> -except (ValueError, SystemError):
> - import error
> - import execute
> - import log
> - import options
> - import path
> - import version
> +from rtemstoolkit import error
> +from rtemstoolkit import execute
> +from rtemstoolkit import log
> +from rtemstoolkit import options
> +from rtemstoolkit import path
> +from rtemstoolkit import version
does this work on msys2?
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list