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

Commit

Permalink
Merge pull request #3642 from gratipay/prune-old-code
Browse files Browse the repository at this point in the history
prune references to dead sync_with_balanced
  • Loading branch information
chadwhitacre committed Jul 27, 2015
2 parents 0bfdd3e + 614cfc9 commit b1e91fc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions gratipay/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ def payday():
# ===============

env = wireup.env()
db = wireup.db(env)

wireup.db(env)
wireup.billing(env)


Expand All @@ -19,11 +18,9 @@ def payday():
# This dodges a problem where db in billing is None if we import it from
# gratipay before calling wireup.billing.

from gratipay.billing.exchanges import sync_with_balanced
from gratipay.billing.payday import Payday

try:
sync_with_balanced(db)
Payday.start().run()
except KeyboardInterrupt:
pass
Expand Down

0 comments on commit b1e91fc

Please sign in to comment.