summaryrefslogtreecommitdiffstats
path: root/test/Progress
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2021-04-09 16:54:50 (GMT)
committerDaniel Moody <daniel.moody@mongodb.com>2021-04-09 16:54:50 (GMT)
commitdd2b96c596b9446c356aea5f9fa41aab235bc24d (patch)
tree9d5ea78d6776de0da699b3a147162c825001b686 /test/Progress
parent4750a25645153ee3978684d8f694d868a0bbe0d0 (diff)
downloadSCons-dd2b96c596b9446c356aea5f9fa41aab235bc24d.zip
SCons-dd2b96c596b9446c356aea5f9fa41aab235bc24d.tar.gz
SCons-dd2b96c596b9446c356aea5f9fa41aab235bc24d.tar.bz2
Dont call progress if the progress object is Null
Diffstat (limited to 'test/Progress')
-rw-r--r--test/Progress/multi_target_fixture/SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Progress/multi_target_fixture/SConstruct b/test/Progress/multi_target_fixture/SConstruct
index 646217e..b164170 100644
--- a/test/Progress/multi_target_fixture/SConstruct
+++ b/test/Progress/multi_target_fixture/SConstruct
@@ -1,7 +1,8 @@
+import SCons
class ProgressTest:
def __call__(self, node):
- if node.get_state() == 2:
+ if node.get_state() == SCons.Node.executing:
print(node)
env = Environment(tools=[])