Commits

Dan Connolly committed b9d7639

oops; mcc didn't actually output its results

Comments (0)

Files changed (1)

     c.login(u, p)
 
     #pprint.pprint(c.getCategories())
-    json.dumps(c.allTransactions(), sys.stdout, ensure_ascii=False, indent=2)
+    json.dump(c.allTransactions(), sys.stdout, ensure_ascii=False, indent=2)
 
 
 class MintCloudClient(mechanize.Browser):
             if not txns:
                 break
             alltx.extend(txns)
+            log.debug('txn #%d: %s', offset,
+                      [txns[-1][f] for f in ('date', 'merchant', 'amount')])
             offset += len(txns)
 
         return alltx