open-contracting / credere-backend

A tool that facilitates the participation of Micro, Small, and Medium businesses (MSMEs) in the Colombian public procurement market.
https://credere.readthedocs.io
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Why is previous passed in the first _get_remote_contract call, but not the second? #318

Closed jpmckinney closed 2 months ago

jpmckinney commented 2 months ago

a77521bc

    # previous was added here...
    contract_response_json, contract_url = _get_remote_contract(proceso_de_compra, proveedor_adjudicado, previous)

    if not contract_response_json:
        # But not here...
        contract_response_json, contract_url = _get_remote_contract(proceso_de_compra, "No Adjudicado")