Skip to content

Commit

Permalink
GH-100: Remove redundant missing funding programme check
Browse files Browse the repository at this point in the history
Missed in c8eef94.
  • Loading branch information
markhobson committed Apr 9, 2024
1 parent 241e531 commit 6625f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schemes/domain/schemes/schemes.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def reviews(self) -> SchemeReviews:
def is_updateable(self) -> bool:
is_funded = self.funding.bid_status == BidStatus.FUNDED
is_active_and_incomplete = self._is_active_and_incomplete(self.milestones.current_milestone)
is_under_embargo = self.funding_programme and self.funding_programme.is_under_embargo
is_under_embargo = self.funding_programme.is_under_embargo
return is_funded and is_active_and_incomplete and not is_under_embargo

@staticmethod
Expand Down

0 comments on commit 6625f78

Please sign in to comment.