Skip to content

Commit

Permalink
Merge branch 'a163098707244167_databridge_delivery_date_values'
Browse files Browse the repository at this point in the history
  • Loading branch information
vmaksymiv committed Aug 4, 2016
2 parents 71c708f + 1e09cb3 commit 3dc793d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openprocurement/contracting/api/databridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def get_tender_contracts(self):
{"CONTRACT_ID": contract['id'], "TENDER_ID": tender['id']}))

for item in contract.get('items', []):
if 'deliveryDate' in item and 'startDate' in item['deliveryDate']:
if 'deliveryDate' in item and item['deliveryDate'].get('startDate') and item['deliveryDate'].get('endDate'):
if item['deliveryDate']['startDate'] > item['deliveryDate']['endDate']:
logger.info("Found dates missmatch {} and {}".format(item['deliveryDate']['startDate'], item['deliveryDate']['endDate']),
extra=journal_context(params={"CONTRACT_ID": contract['id'], "TENDER_ID": tender['id']}))
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
import os

version = '2.3.6'
version = '2.3.7'

requires = [
'couchdb',
Expand Down

0 comments on commit 3dc793d

Please sign in to comment.