Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Rename a variable in payday for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Jun 2, 2016
1 parent 79a4eb3 commit 53da3c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gratipay/billing/payday.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def payin(self):
self.process_payment_instructions(cursor)
self.transfer_takes(cursor, self.ts_start)
self.process_unclaimed(cursor)
payments = cursor.all("""
_payments_for_debugging = cursor.all("""
SELECT * FROM payments WHERE "timestamp" > %s
""", (self.ts_start,))
try:
Expand All @@ -166,7 +166,7 @@ def payin(self):
import csv
from time import time
with open('%s_payments.csv' % time(), 'wb') as f:
csv.writer(f).writerows(payments)
csv.writer(f).writerows(_payments_for_debugging)
raise
self.take_over_balances()

Expand Down

0 comments on commit 53da3c6

Please sign in to comment.