libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [1/8] libcloud git commit: Change syntax per flake8 recommendation
Date Fri, 11 Aug 2017 04:34:49 GMT
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 <ayleph@thisshitistemp.com>
Authored: Wed Jun 21 22:23:45 2017 -0700
Committer: Anthony Shaw <anthonyshaw@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']


Mime
View raw message