Fix lint

Signed-off-by: Anthony Shaw <anthony.p.s...@gmail.com>


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

Branch: refs/heads/trunk
Commit: 7b38ce355bff7e0955cacd0f9fc62b436b8f4d66
Parents: b7c6bdc
Author: Anthony Shaw <anthony.p.s...@gmail.com>
Authored: Wed Nov 25 09:49:34 2015 +1100
Committer: Anthony Shaw <anthony.p.s...@gmail.com>
Committed: Fri Nov 27 17:30:10 2015 +1100

----------------------------------------------------------------------
 libcloud/dns/drivers/godaddy.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/7b38ce35/libcloud/dns/drivers/godaddy.py
----------------------------------------------------------------------
diff --git a/libcloud/dns/drivers/godaddy.py b/libcloud/dns/drivers/godaddy.py
index 4d21998..ce1ae7d 100644
--- a/libcloud/dns/drivers/godaddy.py
+++ b/libcloud/dns/drivers/godaddy.py
@@ -103,6 +103,7 @@ class GoDaddyDNSConnection(ConnectionKey):
             (self.key, self.secret)
         return headers
 
+
 class GoDaddyDNSDriver(DNSDriver):
     type = Provider.GODADDY
     name = 'GoDaddy DNS'
@@ -179,9 +180,9 @@ class GoDaddyDNSDriver(DNSDriver):
 
     def get_record(self, zone_id, record_type, record_name):
         result = self.connection.request(
-            '/v1/domains/%s/record/%s/%s' % (zone_id, record_type, record_name)
-            ).object
-        record = self._to_record(item=result, zone=self.get_zone(zone_id))
+            '/v1/domains/%s/record/%s/%s' % (zone_id, record_type, 
record_name))
+        record = self._to_record(item=result.object,
+                                 zone=self.get_zone(zone_id))
         return record
 
     def delete_zone(self, zone):

Reply via email to