Commit da5bfd45 by Diana Huang

Fix pylint violation.

parent 257b22e2
...@@ -367,6 +367,7 @@ def _payment_accepted(order_id, auth_amount, currency, decision): ...@@ -367,6 +367,7 @@ def _payment_accepted(order_id, auth_amount, currency, decision):
total_cost_currency=order.currency total_cost_currency=order.currency
) )
) )
#pylint: disable=attribute-defined-outside-init
ex.order = order ex.order = order
raise ex raise ex
else: else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment