mirror of
https://git.rtems.org/rtems-tools/
synced 2025-10-19 06:41:45 +08:00
rtemstoolkit: Trace opening a macro file.
This commit is contained in:
@@ -46,9 +46,11 @@ import string
|
|||||||
#
|
#
|
||||||
try:
|
try:
|
||||||
from . import error
|
from . import error
|
||||||
|
from . import log
|
||||||
from . import path
|
from . import path
|
||||||
except (ValueError, SystemError):
|
except (ValueError, SystemError):
|
||||||
import error
|
import error
|
||||||
|
import log
|
||||||
import path
|
import path
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -400,6 +402,7 @@ class macros:
|
|||||||
def load(self, name):
|
def load(self, name):
|
||||||
names = self.expand(name).split(':')
|
names = self.expand(name).split(':')
|
||||||
for n in names:
|
for n in names:
|
||||||
|
log.trace('opening: %s' % (n))
|
||||||
if path.exists(n):
|
if path.exists(n):
|
||||||
try:
|
try:
|
||||||
mc = open(path.host(n), 'r')
|
mc = open(path.host(n), 'r')
|
||||||
|
Reference in New Issue
Block a user