ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FreeBSDAdmin/Reminder/creditcards.py
(Generate patch)

Comparing FreeBSDAdmin/Reminder/creditcards.py (file contents):
Revision 1179 by douglas, 2009-05-19T16:53:29-07:00 vs.
Revision 1180 by douglas, 2009-05-19T21:16:13-07:00

# Line 1 | Line 1
1 #!/usr/local/bin/python
1   # Credit Cards
2   #
3   # Douglas Thrift
# Line 13 | Line 12 | def main(calendar, config, banks, debug)
12          for module in config.getlist('banks'):
13                  bank = banks.bank(module)
14  
15 <                for name, account in bank.accounts():
16 <                        due = bank.due(account)
15 >                for name, number in bank.accounts():
16 >                        due = bank.due(number)
17                          today = date.today()
18  
19                          if due <= today:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines