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

Commit

Permalink
Trim trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre authored and rorepo committed Sep 3, 2015
1 parent 2493f71 commit 710399e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion gratipay/billing/payday.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def f(p):
else:
holds[p.id] = hold
n_failures = sum(filter(None, threaded_map(f, participants)))


# Record the number of failures
cursor.one("""
Expand Down
8 changes: 0 additions & 8 deletions sql/payday.sql
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,6 @@ CREATE INDEX ON payday_payment_instructions (participant);
CREATE INDEX ON payday_payment_instructions (team);
ALTER TABLE payday_payment_instructions ADD COLUMN is_funded boolean;

--UPDATE payday_payment_instructions ppi
-- SET due = s.due
-- FROM (SELECT participant, team, SUM(due) AS due
-- FROM payment_instructions
-- GROUP BY participant, team) s
-- WHERE ppi.participant = s.participant
-- AND ppi.team = s.team;

ALTER TABLE payday_participants ADD COLUMN giving_today numeric(35,2);
UPDATE payday_participants pp
SET giving_today = COALESCE((
Expand Down

0 comments on commit 710399e

Please sign in to comment.