libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [8/9] libcloud git commit: remove unecessary pass statements
Date Mon, 10 Jul 2017 08:48:27 GMT
remove unecessary pass statements


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

Branch: refs/heads/trunk
Commit: a84dc394d331532668e3ff443f27fa5cc74634fa
Parents: dde03ac
Author: jhelie <jean.helie@gmail.com>
Authored: Thu Jun 22 13:52:41 2017 +0100
Committer: Anthony Shaw <anthonyshaw@apache.org>
Committed: Mon Jul 10 09:48:02 2017 +0100

----------------------------------------------------------------------
 libcloud/compute/drivers/oneandone.py | 1 -
 libcloud/compute/drivers/vultr.py     | 1 -
 2 files changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/a84dc394/libcloud/compute/drivers/oneandone.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/oneandone.py b/libcloud/compute/drivers/oneandone.py
index 2203a08..7263afc 100644
--- a/libcloud/compute/drivers/oneandone.py
+++ b/libcloud/compute/drivers/oneandone.py
@@ -2249,7 +2249,6 @@ class OneAndOneNodeDriver(NodeDriver):
             if i == retries:
                 raise Exception('Retries count reached')
 
-        pass
 
     def _list_fixed_instances(self):
         response = self.connection.request(

http://git-wip-us.apache.org/repos/asf/libcloud/blob/a84dc394/libcloud/compute/drivers/vultr.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/vultr.py b/libcloud/compute/drivers/vultr.py
index 1cabd46..e349a44 100644
--- a/libcloud/compute/drivers/vultr.py
+++ b/libcloud/compute/drivers/vultr.py
@@ -316,7 +316,6 @@ class VultrNodeDriver(NodeDriver):
                 created_node = [n for n in nodes if n.id == subid][0]
             except IndexError:
                 time.sleep(1)
-                pass
             else:
                 break
 


Mime
View raw message