libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [36/51] [abbrv] libcloud git commit: fixing PEP 8 errors in compute/drivers/nttcis.py and test/secrets.py
Date Wed, 31 Oct 2018 03:11:47 GMT
fixing PEP 8 errors in compute/drivers/nttcis.py and test/secrets.py


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

Branch: refs/heads/trunk
Commit: 1ea7ecb3f6ac0799305dd257555686941e79679f
Parents: 01c22f9
Author: mitch <mitch.raful@itaas.dimensiondata.com>
Authored: Wed Oct 24 15:14:20 2018 -0400
Committer: mitch <mitch.raful@itaas.dimensiondata.com>
Committed: Wed Oct 24 15:14:20 2018 -0400

----------------------------------------------------------------------
 libcloud/compute/drivers/nttcis.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/1ea7ecb3/libcloud/compute/drivers/nttcis.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/nttcis.py b/libcloud/compute/drivers/nttcis.py
index 08273e6..bf34f3c 100644
--- a/libcloud/compute/drivers/nttcis.py
+++ b/libcloud/compute/drivers/nttcis.py
@@ -2183,8 +2183,7 @@ class NttCisNodeDriver(NodeDriver):
         addresses = self._to_ipv4_addresses(response)
         return addresses
 
-    def ex_list_reserved_ipv6(self, vlan: NttCisVlan=None,
-                              datacenter_id: str=None):
+    def ex_list_reserved_ipv6(self, vlan=None, datacenter_id=None):
         if vlan is not None:
             vlan_id = self._vlan_to_vlan_id(vlan)
             params = {"vlanId": vlan_id}
@@ -2375,7 +2374,7 @@ class NttCisNodeDriver(NodeDriver):
         :param position_relative_to_rule: The rule or rule name in
                                           which to decide positioning by
         :type  position_relative_to_rule:
-                                          :class:`NttCisFirewallRule` or ``str``
+                                        ::class:`NttCisFirewallRule` or ``str``
 
         :rtype: ``bool``
         """


Mime
View raw message