You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python for else does not work the way described in the method description. No matter the result the else statement will always be called, meaning that in every case a new address will be created. Why call break? Why not just return the address that matches
The text was updated successfully, but these errors were encountered:
I see this module has not bee updated in over a year but for what its worth,
in partner.py there is a for each loop that checks customer addresses for a match.
see link https://github.com/openlabs/magento_integration/blob/develop/partner.py#L230
Python for else does not work the way described in the method description. No matter the result the else statement will always be called, meaning that in every case a new address will be created. Why call break? Why not just return the address that matches
The text was updated successfully, but these errors were encountered: