mirror of
https://git.rtems.org/rtems-tools/
synced 2025-10-17 18:39:47 +08:00
rtemstoolkit: Trace opening a macro file.
This commit is contained in:
@@ -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')
|
||||
|
Reference in New Issue
Block a user