mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-02-02 10:45:21 -05:00
Record charge amount in unused Bid.charge attribute.
This commit is contained in:
committed by
Brian Simpson
parent
e65985295e
commit
2be7bf01e8
@@ -333,7 +333,9 @@ class Bid(Sessionized, Base):
|
||||
return (self.status == self.STATUS.VOID)
|
||||
|
||||
def charged(self):
|
||||
self.charge = self.bid
|
||||
self.set_status(self.STATUS.CHARGE)
|
||||
self._commit()
|
||||
|
||||
def is_charged(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user