Browse Source

Merge pull request #221 from github/sort-geo-values

Unsorted GeoValue.values can result in false diffs
pull/222/head
Ross McFarland 8 years ago
committed by GitHub
parent
commit
a361bd61d0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      octodns/record.py

+ 1
- 1
octodns/record.py View File

@ -184,7 +184,7 @@ class GeoValue(object):
self.continent_code = match.group('continent_code')
self.country_code = match.group('country_code')
self.subdivision_code = match.group('subdivision_code')
self.values = values
self.values = sorted(values)
@property
def parents(self):


Loading…
Cancel
Save