[PATCH 2/2] rtemstoolkit: msys2 compatibility
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Jan 8 07:00:28 UTC 2016
---
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
basepath = 'tb'
@@ -349,6 +348,7 @@ class command_line(object):
self.defaults.load(rsb_macros)
def local_git(self):
+ from . import git
repo = git.repo(self.defaults.expand('%{_rtdir}'), self)
if repo.valid():
repo_valid = '1'
--
1.8.4.5
More information about the devel
mailing list