Skip to content

Commit

Permalink
[refs #94354] Set country_code NON_EU for the right companies
Browse files Browse the repository at this point in the history
  • Loading branch information
dianaboiangiu committed Mar 29, 2018
1 parent ff40ba4 commit dc2b88e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache_registry/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def get_country_code(self):
return self.address.country.code
elif (len(self.types) >= 1 and
self.types[0].type == 'FGAS_MANUFACTURER_OF_EQUIPMENT_HFCS'):
return self.address.country.code
return 'NON_EU'
elif (self.represent and self.represent.address and
self.represent.address.country):
return self.represent.address.country.code
Expand Down

0 comments on commit dc2b88e

Please sign in to comment.