This builtin has been deprecated since python-2.3, so call the function
directly instead of via apply.
---
 catalyst/base/stagebase.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 7bc7522..fcdf729 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -1426,7 +1426,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
                        print "--- Running action sequence: "+x
                        sys.stdout.flush()
                        try:
-                               apply(getattr(self,x))
+                               getattr(self, x)()
                        except LockInUse:
                                print "Error, unable to aquire the lock..."
                                print " Catalyst aborting...."
-- 
2.5.2


Reply via email to