summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/exitfuncs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/exitfuncs.py')
-rw-r--r--src/engine/SCons/exitfuncs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/exitfuncs.py b/src/engine/SCons/exitfuncs.py
index d911b52..250dd54 100644
--- a/src/engine/SCons/exitfuncs.py
+++ b/src/engine/SCons/exitfuncs.py
@@ -41,7 +41,7 @@ def _run_exitfuncs():
while _exithandlers:
func, targs, kargs = _exithandlers.pop()
- apply(func, targs, kargs)
+ func(*targs, **kargs)
def register(func, *targs, **kargs):
"""register a function to be executed upon normal program termination