bstempi / pyswf

Classes that build on Boto's SWF classes to make workflow construction easier.
9 stars 0 forks source link

Decoration for activity tasks does not work correctly if not called directly by a decison_task #3

Open bstempi opened 8 years ago

bstempi commented 8 years ago

Deep within the decoration logic, the activity_task decorator checks to see if the caller is a decision_task. If it's not, it passes the call straight through. This is incorrect -- if the activity_task is being called indirectly by the decider, it should still be wrapped.