Return-Path: X-Original-To: apmail-libcloud-notifications-archive@www.apache.org Delivered-To: apmail-libcloud-notifications-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F3DB318FE6 for ; Mon, 21 Dec 2015 23:05:02 +0000 (UTC) Received: (qmail 60516 invoked by uid 500); 21 Dec 2015 23:05:02 -0000 Delivered-To: apmail-libcloud-notifications-archive@libcloud.apache.org Received: (qmail 60452 invoked by uid 500); 21 Dec 2015 23:05:02 -0000 Mailing-List: contact notifications-help@libcloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@libcloud.apache.org Delivered-To: mailing list notifications@libcloud.apache.org Received: (qmail 60436 invoked by uid 500); 21 Dec 2015 23:05:02 -0000 Delivered-To: apmail-libcloud-commits@libcloud.apache.org Received: (qmail 60433 invoked by uid 99); 21 Dec 2015 23:05:02 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2015 23:05:02 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A5241E0663; Mon, 21 Dec 2015 23:05:02 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: anthonyshaw@apache.org To: commits@libcloud.apache.org Date: Mon, 21 Dec 2015 23:05:02 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/3] libcloud git commit: linting patches Repository: libcloud Updated Branches: refs/heads/trunk f856da991 -> e943be82d linting patches Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/97c88185 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/97c88185 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/97c88185 Branch: refs/heads/trunk Commit: 97c88185a1b7ea94d2bb7eb4f5d4917831df81db Parents: 6add1ee Author: anthony-shaw Authored: Mon Dec 21 20:35:45 2015 +1100 Committer: anthony-shaw Committed: Tue Dec 22 10:04:28 2015 +1100 ---------------------------------------------------------------------- libcloud/compute/drivers/dimensiondata.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/97c88185/libcloud/compute/drivers/dimensiondata.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/dimensiondata.py b/libcloud/compute/drivers/dimensiondata.py index fa6ee4e..cbe1530 100644 --- a/libcloud/compute/drivers/dimensiondata.py +++ b/libcloud/compute/drivers/dimensiondata.py @@ -108,7 +108,8 @@ class DimensionDataNodeDriver(NodeDriver): :keyword ex_network_domain: Network Domain to create the node (required unless using network) - :type ex_network_domain: :class:`DimensionDataNetworkDomain` or ``str`` + :type ex_network_domain: :class:`DimensionDataNetworkDomain` + or ``str`` :keyword ex_vlan: VLAN to create the node within (required unless using network) @@ -137,9 +138,9 @@ class DimensionDataNodeDriver(NodeDriver): password = auth_obj.password if not isinstance(ex_network, DimensionDataNetwork) \ - and not isinstance(ex_network, str): + and not isinstance(ex_network, str): if not isinstance(ex_network_domain, DimensionDataNetworkDomain) \ - and not isinstance(ex_network_domain, str): + and not isinstance(ex_network_domain, str): raise ValueError('ex_network must be of DimensionDataNetwork' ' or str ' 'type or ex_network_domain must be of '