Repository: libcloud
Updated Branches:
  refs/heads/trunk e69d6da35 -> 48a3fb906


dns: sort RecordTypes

Sort the list of RecordTypes alphabetically. This will make it simpler
to insert new record types.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/53250b06
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/53250b06
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/53250b06

Branch: refs/heads/trunk
Commit: 53250b06b40b1229f7432eaaa970971a553356be
Parents: e69d6da
Author: Ken Dreyer <ktdre...@ktdreyer.com>
Authored: Tue Apr 12 16:20:37 2016 -0600
Committer: anthony-shaw <anthonys...@apache.org>
Committed: Wed Apr 13 09:52:27 2016 +1000

----------------------------------------------------------------------
 libcloud/dns/types.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/53250b06/libcloud/dns/types.py
----------------------------------------------------------------------
diff --git a/libcloud/dns/types.py b/libcloud/dns/types.py
index 0ef8417..119bac9 100644
--- a/libcloud/dns/types.py
+++ b/libcloud/dns/types.py
@@ -72,24 +72,24 @@ class RecordType(object):
     A = 'A'
     AAAA = 'AAAA'
     ALIAS = 'ALIAS'
-    MX = 'MX'
-    NS = 'NS'
     CNAME = 'CNAME'
     DNAME = 'DNAME'
+    GEO = 'GEO'
     HINFO = 'HINFO'
-    TXT = 'TXT'
+    LOC = 'LOC'
+    MX = 'MX'
+    NAPTR = 'NAPTR'
+    NS = 'NS'
     PTR = 'PTR'
+    REDIRECT = 'REDIRECT'
+    RP = 'RP'
     SOA = 'SOA'
     SPF = 'SPF'
     SRV = 'SRV'
     SSHFP = 'SSHFP'
-    RP = 'RP'
-    NAPTR = 'NAPTR'
-    REDIRECT = 'REDIRECT'
-    GEO = 'GEO'
+    TXT = 'TXT'
     URL = 'URL'
     WKS = 'WKS'
-    LOC = 'LOC'
 
 
 class ZoneError(LibcloudError):

Reply via email to