diff options
author | Dirk Baechle <dl9obn@darc.de> | 2016-01-01 14:31:19 (GMT) |
---|---|---|
committer | Dirk Baechle <dl9obn@darc.de> | 2016-01-01 14:31:19 (GMT) |
commit | d49c6b49f2add08d6a1984f9602fa383d698ba96 (patch) | |
tree | 2b8900a5cf5184e418090488858b302fcbfa545b | |
parent | 42ac4c63bd25680c49ff9a7fa6f1e1139d589ced (diff) | |
download | SCons-d49c6b49f2add08d6a1984f9602fa383d698ba96.zip SCons-d49c6b49f2add08d6a1984f9602fa383d698ba96.tar.gz SCons-d49c6b49f2add08d6a1984f9602fa383d698ba96.tar.bz2 |
- fixed internal debugging of Taskmaster
-rw-r--r-- | src/engine/SCons/Taskmaster.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/SCons/Taskmaster.py b/src/engine/SCons/Taskmaster.py index 069ac90..86cae42 100644 --- a/src/engine/SCons/Taskmaster.py +++ b/src/engine/SCons/Taskmaster.py @@ -107,7 +107,7 @@ fmt = "%(considered)3d "\ def dump_stats(): for n in sorted(StatsNodes, key=lambda a: str(a)): - print (fmt % n.stats.__dict__) + str(n) + print (fmt % n.attributes.stats.__dict__) + str(n) @@ -781,10 +781,10 @@ class Taskmaster(object): # return node if CollectStats: - if not hasattr(node, 'stats'): - node.stats = Stats() + if not hasattr(node.attributes, 'stats'): + node.attributes.stats = Stats() StatsNodes.append(node) - S = node.stats + S = node.attributes.stats S.considered = S.considered + 1 else: S = None |