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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
octodns/record.py
|
|
|
@ -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): |
|
|
|
|