diff --git libcloud/common/base.py libcloud/common/base.py
index 7d4f0cd..9568124 100644
--- libcloud/common/base.py
+++ libcloud/common/base.py
@@ -655,8 +655,8 @@ class PollingConnection(Connection):
 
         - Returned 'job_id' is then used to construct a URL which is used for
           retrieving job status. Constructed URL is then periodically polled
-          until the response indicates that the job has completed or the timeout
-          of 'self.timeout' seconds has been reached.
+          until the response indicates that the job has completed or the
+          timeout of 'self.timeout' seconds has been reached.
 
         @type action: C{str}
         @param action: A path
@@ -755,7 +755,8 @@ class ConnectionKey(Connection):
         passed value.
         """
         super(ConnectionKey, self).__init__(secure=secure, host=host,
-                                            port=port, url=url, timeout=timeout)
+                                            port=port, url=url,
+                                            timeout=timeout)
         self.key = key
 
 
@@ -825,7 +826,8 @@ class BaseDriver(object):
 
         self.api_version = api_version
 
-        self.connection = self.connectionCls(*args, **self._ex_connection_class_kwargs())
+        self.connection = self.connectionCls(*args,
+            **self._ex_connection_class_kwargs())
 
         self.connection.driver = self
         self.connection.connect()
diff --git libcloud/common/gogrid.py libcloud/common/gogrid.py
index 4d39f8c..ec29b8d 100644
--- libcloud/common/gogrid.py
+++ libcloud/common/gogrid.py
@@ -44,7 +44,8 @@ class GoGridResponse(JsonResponse):
         if self.status == 403:
             raise InvalidCredsError('Invalid credentials', self.driver)
         if self.status == 401:
-            raise InvalidCredsError('API Key has insufficient rights', self.driver)
+            raise InvalidCredsError('API Key has insufficient rights',
+                self.driver)
         if not self.body:
             return None
         try:
diff --git libcloud/common/openstack.py libcloud/common/openstack.py
index 48cbd3e..570c755 100644
--- libcloud/common/openstack.py
+++ libcloud/common/openstack.py
@@ -140,9 +140,12 @@ class OpenStackAuthConnection(ConnectionUserAndKey):
             headers = resp.headers
             # emulate the auth 1.1 URL list
             self.urls = {}
-            self.urls['cloudServers'] = [{'publicURL': headers.get('x-server-management-url', None)}]
-            self.urls['cloudFilesCDN'] = [{'publicURL': headers.get('x-cdn-management-url', None)}]
-            self.urls['cloudFiles'] = [{'publicURL': headers.get('x-storage-url', None)}]
+            self.urls['cloudServers'] = \
+                [{'publicURL': headers.get('x-server-management-url', None)}]
+            self.urls['cloudFilesCDN'] = \
+                [{'publicURL': headers.get('x-cdn-management-url', None)}]
+            self.urls['cloudFiles'] = \
+                [{'publicURL': headers.get('x-storage-url', None)}]
             self.auth_token = headers.get('x-auth-token', None)
 
             if not self.auth_token:
@@ -182,8 +185,8 @@ class OpenStackAuthConnection(ConnectionUserAndKey):
     def authenticate_2_0_with_apikey(self):
         # API Key based authentication uses the RAX-KSKEY extension.
         # https://github.com/openstack/keystone/tree/master/keystone/content/service
-        data = {'auth': 
-                {'RAX-KSKEY:apiKeyCredentials': 
+        data = {'auth':
+                {'RAX-KSKEY:apiKeyCredentials':
                  {'username': self.user_id, 'apiKey': self.key}}}
         if self.tenant_name:
             data['auth']['tenantName'] = self.tenant_name
@@ -194,8 +197,8 @@ class OpenStackAuthConnection(ConnectionUserAndKey):
         # Password based authentication is the only 'core' authentication
         # method in Keystone at this time.
         # 'keystone' - http://docs.openstack.org/api/openstack-identity-service/2.0/content/Identity-Service-Concepts-e1362.html
-        data = {'auth': 
-                {'passwordCredentials': 
+        data = {'auth': \
+                {'passwordCredentials': \
                  {'username': self.user_id, 'password': self.key}}}
         if self.tenant_name:
             data['auth']['tenantName'] = self.tenant_name
@@ -359,15 +362,15 @@ class OpenStackBaseConnection(ConnectionUserAndKey):
     is provided.
     @type ex_tenant_name: C{string}
 
-    @param ex_force_service_type: Service type to use when selecting an 
+    @param ex_force_service_type: Service type to use when selecting an
     service.  If not specified, a provider specific default will be used.
     @type ex_force_service_type: C{string}
 
-    @param ex_force_service_name: Service name to use when selecting an 
+    @param ex_force_service_name: Service name to use when selecting an
     service.  If not specified, a provider specific default will be used.
     @type ex_force_service_name: C{string}
 
-    @param ex_force_service_region: Region to use when selecting an 
+    @param ex_force_service_region: Region to use when selecting an
     service.  If not specified, a provider specific default will be used.
     @type ex_force_service_region: C{string}
     """
