rtemstoolkit: Trace opening a macro file.

This commit is contained in:
Chris Johns
2016-08-18 14:24:13 +10:00
parent 3e1459496a
commit 1676b9c80b

View File

@@ -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')