documented up_or_down parameter on pledge_modified signal handler

pull/1/head
eric 2012-08-31 02:50:38 -04:00
parent 618eda4aa5
commit 7c4a2b94f0
1 changed files with 1 additions and 0 deletions

View File

@ -173,6 +173,7 @@ def handle_pledge_modified(sender, transaction=None, up_or_down=None, **kwargs):
# we need to know if pledges were modified up or down because Amazon handles the
# transactions in different ways, resulting in different user-visible behavior;
# we need to set expectations appropriately
# up_or_down is 'increased', 'decreased', or 'canceled'
if transaction==None or up_or_down==None:
return
notification.queue([transaction.user], "pledge_status_change", {