Skip to content

Commit

Permalink
Merge branch 'a197071106211321_add_next_award'
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed Oct 17, 2016
2 parents 9b6b0aa + 457d01e commit 89283dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openprocurement/tender/openua/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def add_next_award(request):
'date': [i for i in bid.lotValues if lot.id == i.relatedLot][0].date
}
for bid in tender.bids
if lot.id in [i.relatedLot for i in bid.lotValues] and bid.status == "active"
if bid.status == "active" and lot.id in [i.relatedLot for i in bid.lotValues if getattr(i, 'status', "active") == "active"]
]
if not bids:
lot.status = 'unsuccessful'
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.14'
version = '2.3.15'

requires = [
'setuptools',
Expand Down

0 comments on commit 89283dc

Please sign in to comment.