fix linting errors
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/5de0eb4e Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/5de0eb4e Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/5de0eb4e Branch: refs/heads/trunk Commit: 5de0eb4ec44f5edc05b7ec31b6ecb67dd4b5acf6 Parents: 291ffce Author: anthony-shaw <anthonys...@apache.org> Authored: Mon Jun 6 22:37:38 2016 +1000 Committer: anthony-shaw <anthonys...@apache.org> Committed: Mon Jun 6 22:37:38 2016 +1000 ---------------------------------------------------------------------- libcloud/compute/drivers/dimensiondata.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/5de0eb4e/libcloud/compute/drivers/dimensiondata.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/dimensiondata.py b/libcloud/compute/drivers/dimensiondata.py index f3c30de..0d4ae62 100644 --- a/libcloud/compute/drivers/dimensiondata.py +++ b/libcloud/compute/drivers/dimensiondata.py @@ -2439,8 +2439,7 @@ class DimensionDataNodeDriver(NodeDriver): port_list_id=port_list.get('id', None) if port_list is not None else None, address_list_id=address_list.get('id') - if address_list is not None else None - ) + if address_list is not None else None) else: return DimensionDataFirewallAddress( any_ip=False, @@ -2451,8 +2450,7 @@ class DimensionDataNodeDriver(NodeDriver): port_list_id=port_list.get('id', None) if port_list is not None else None, address_list_id=address_list.get('id') - if address_list is not None else None - ) + if address_list is not None else None) def _to_ip_blocks(self, object): blocks = []