Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed Jan 29, 2016
1 parent 5db13aa commit 14fff8b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions openprocurement/tender/openua/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,7 @@ def validate_tenderPeriod(self, data, period):
raise ValidationError(u"tenderPeriod should be greater than 15 days")

def initialize(self):
if not self.tenderPeriod.startDate:
self.tenderPeriod.startDate = get_now()
self.enquiryPeriod = Period(dict(startDate=self.tenderPeriod.startDate, endDate=calculate_business_date(self.tenderPeriod.endDate, -ENQUIRY_PERIOD_TIME)))
if hasattr(self, "auctionPeriod") and hasattr(self.auctionPeriod, "startDate"):
self.auctionPeriod.startDate = ""

@serializable(serialized_name="enquiryPeriod", type=ModelType(Period))
def tender_enquiryPeriod(self):
Expand Down
2 changes: 0 additions & 2 deletions openprocurement/tender/openua/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ def check_status(request):
return
elif standStillEnd > now:
lots_ends.append(standStillEnd)
if lots_ends:
return


def add_next_award(request):
Expand Down

0 comments on commit 14fff8b

Please sign in to comment.