Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Dec 30, 2018
1 parent 3e98929 commit e9b24a4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ def process_row(row, *_):
all_contracts_ = get_all_contracts(key)
all_contracts = []
for contract in all_contracts_:
if row['publication_id'] == 621615:
logging.error('XXX %r', row)
logging.error('XXX %r', contract)
logging.error('XXX %r', row.get('start_date') <= contract.get('order_date'))
if row.get('start_date') and contract.get('order_date'):
if row.get('start_date') <= contract.get('order_date'):
all_contracts.append(contract)
Expand Down

0 comments on commit e9b24a4

Please sign in to comment.