Repository: libcloud
Updated Branches:
  refs/heads/trunk acce7791f -> 873f776cd


Change syntax per flake8 recommendation


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

Branch: refs/heads/trunk
Commit: 2e8da9bbd7da5add99dd0e948b3142bb12706eaf
Parents: b21787b
Author: ayleph <ayl...@thisshitistemp.com>
Authored: Wed Jun 21 22:23:45 2017 -0700
Committer: Anthony Shaw <anthonys...@apache.org>
Committed: Fri Aug 11 14:30:41 2017 +1000

----------------------------------------------------------------------
 libcloud/storage/drivers/cloudfiles.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/2e8da9bb/libcloud/storage/drivers/cloudfiles.py
----------------------------------------------------------------------
diff --git a/libcloud/storage/drivers/cloudfiles.py 
b/libcloud/storage/drivers/cloudfiles.py
index 33d8301..12b2332 100644
--- a/libcloud/storage/drivers/cloudfiles.py
+++ b/libcloud/storage/drivers/cloudfiles.py
@@ -318,7 +318,7 @@ class CloudFilesStorageDriver(StorageDriver, 
OpenStackDriverMixin):
                                            cdn_request=True)
 
         if response.status == httplib.NO_CONTENT:
-            if ssl_uri == True:
+            if ssl_uri:
                 cdn_url = response.headers['x-cdn-ssl-uri']
             else:
                 cdn_url = response.headers['x-cdn-uri']

Reply via email to