[PATCH 2/2] rtemstoolkit: msys2 compatibility
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Jan 8 08:41:12 UTC 2016
On 08/01/16 09:23, Chris Johns wrote:
> On 8/01/2016 6:00 PM, Sebastian Huber wrote:
>> >---
>> > rtemstoolkit/options.py | 16 ++++++++--------
>> > 1 file changed, 8 insertions(+), 8 deletions(-)
>> >
>> >diff --git a/rtemstoolkit/options.py b/rtemstoolkit/options.py
>> >index 132445e..a5318fa 100644
>> >--- a/rtemstoolkit/options.py
>> >+++ b/rtemstoolkit/options.py
>> >@@ -38,16 +38,15 @@ import pprint
>> > import re
>> > import os
>> > import string
>> >-
>> >-import error
>> >-import execute
>> >-import git
>> >-import log
>> >-import macros
>> >-import path
>> > import sys
>> >
>> >-import version
>> >+from . import error
>> >+from . import execute
>> >+from . import log
>> >+from . import macros
>> >+from . import path
>> >+
>> >+from . import version
>> >
> Is there any doco on the net why this change is needed like it is? It
> may work but I would to understand why before pushing it to the repo.
It seems that Python (python.org and msys2) on Windows has no implict
current directory import path. We used exactly this approach for the
rtems_waf module previously.
--
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