[rtems-tools commit] rtemstoolkit: Trace opening a macro file.
Chris Johns
chrisj at rtems.org
Thu Aug 18 04:24:51 UTC 2016
Module: rtems-tools
Branch: master
Commit: 1676b9c80b10b973ee239cf51e7e10fdf97f5085
Changeset: http://git.rtems.org/rtems-tools/commit/?id=1676b9c80b10b973ee239cf51e7e10fdf97f5085
Author: Chris Johns <chrisj at rtems.org>
Date: Thu Aug 18 14:24:13 2016 +1000
rtemstoolkit: Trace opening a macro file.
---
rtemstoolkit/macros.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/rtemstoolkit/macros.py b/rtemstoolkit/macros.py
index 2ebc132..31f5a7e 100644
--- a/rtemstoolkit/macros.py
+++ b/rtemstoolkit/macros.py
@@ -46,9 +46,11 @@ import string
#
try:
from . import error
+ from . import log
from . import path
except (ValueError, SystemError):
import error
+ import log
import path
#
@@ -400,6 +402,7 @@ class macros:
def load(self, name):
names = self.expand(name).split(':')
for n in names:
+ log.trace('opening: %s' % (n))
if path.exists(n):
try:
mc = open(path.host(n), 'r')
More information about the vc
mailing list