From 234ba4ca29f9d7cdceb43ee3d32f4ab4c971f45a Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Thu, 2 Jun 2016 13:14:27 -0400 Subject: [PATCH] Rename a variable in payday for clarity --- gratipay/billing/payday.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gratipay/billing/payday.py b/gratipay/billing/payday.py index 7caa125b62..452d93b9a2 100644 --- a/gratipay/billing/payday.py +++ b/gratipay/billing/payday.py @@ -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: @@ -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()