libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [06/11] libcloud git commit: Fix linting issue
Date Sat, 16 Apr 2016 17:39:47 GMT
Fix linting issue


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

Branch: refs/heads/ex_connection_class_kwargs_regression_fix
Commit: ccbbca5f7ebc13beb2cef78e0abfc53e88b37d03
Parents: f336532
Author: anthony-shaw <anthonyshaw@apache.org>
Authored: Fri Apr 15 19:13:51 2016 +1000
Committer: anthony-shaw <anthonyshaw@apache.org>
Committed: Sat Apr 16 15:36:03 2016 +1000

----------------------------------------------------------------------
 libcloud/compute/drivers/dimensiondata.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/ccbbca5f/libcloud/compute/drivers/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/dimensiondata.py b/libcloud/compute/drivers/dimensiondata.py
index 670fefc..cb345c9 100644
--- a/libcloud/compute/drivers/dimensiondata.py
+++ b/libcloud/compute/drivers/dimensiondata.py
@@ -1375,7 +1375,8 @@ class DimensionDataNodeDriver(NodeDriver):
             else:
                 source_ip.set('address', rule.source.ip_address)
                 if rule.source.ip_prefix_size is not None:
-                    source_ip.set('prefixSize', str(rule.source.ip_prefix_size))
+                    source_ip.set('prefixSize',
+                                  str(rule.source.ip_prefix_size))
         if rule.source.port_list_id is not None:
             source_port = ET.SubElement(source, 'portListId')
             source_port.text = rule.source.port_list_id


Mime
View raw message