fixed PEP 8 line too long 4855 & 4875
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/db3fe925 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/db3fe925 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/db3fe925 Branch: refs/heads/trunk Commit: db3fe925787df889aece79f400d177a50e704d06 Parents: d20f40b Author: mitch <[email protected]> Authored: Tue Dec 18 22:01:12 2018 -0500 Committer: mitch <[email protected]> Committed: Tue Dec 18 22:01:12 2018 -0500 ---------------------------------------------------------------------- libcloud/compute/drivers/nttcis.py | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/db3fe925/libcloud/compute/drivers/nttcis.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/nttcis.py b/libcloud/compute/drivers/nttcis.py index bf17c84..c9084d8 100644 --- a/libcloud/compute/drivers/nttcis.py +++ b/libcloud/compute/drivers/nttcis.py @@ -4663,9 +4663,9 @@ class NttCisNodeDriver(NodeDriver): :param source_server_id: Id of the server to copy :type source_server_id: ``str`` :param target_server_id: Id of the server to receive the copy - :type: ``str`` + :type: target_server_id: ``str`` :param description: (Optional) Description of consistency group - :type: ``str`` + :type: description: ``str`` :return: :class: `NttCisConsistenccyGroup` """ @@ -4785,7 +4785,8 @@ class NttCisNodeDriver(NodeDriver): :type consistency_group_id: ``str`` :param size_gb: Gb in 100 Gb increments :type size_gb: ``str`` - :return: ``bool`` + :return: True/False + :rtype: ``bool`` """ expand_elm = ET.Element("expandJournal", {"id": consistency_group_id, @@ -4808,7 +4809,8 @@ class NttCisNodeDriver(NodeDriver): :type consistency_group_id: ``str`` :param snapshot_id: Id of the Snapshot to preview :type snapshot_id: ``str`` - :return: True/False + :return: True if response_code contains eiether 'IN_PROGRESS' or 'OK' + otherwise False :rtype: ``bool`` """ preview_elm = ET.Element("startPreviewSnapshot", @@ -4829,7 +4831,8 @@ class NttCisNodeDriver(NodeDriver): :param consistency_group_id: Consistency Group's Id :type ``str`` - :return: True/False + :return: True if response_code contains eiether 'IN_PROGRESS' or 'OK' + otherwise False :rtype: ``bool`` """ preview_elm = ET.Element("stopPreviewSnapshot", @@ -4849,7 +4852,8 @@ class NttCisNodeDriver(NodeDriver): :param consistency_group_id: Consistency Group's Id to failover :type consistency_group_id: ``str`` - :return: True/False + :return: :return: True if response_code contains eiether + 'IN_PROGRESS' or 'OK' otherwise False :rtype: ``bool`` """ failover_elm = ET.Element("initiateFailover", @@ -4868,7 +4872,8 @@ class NttCisNodeDriver(NodeDriver): :param consistency_group_id: Id of Consistency Group to delete :type ``str`` - :return: True/False + :return: :return: True if response_code contains eiether + 'IN_PROGRESS' or 'OK' otherwise False :rtype: ``bool`` """ delete_elm = ET.Element("deleteConsistencyGroup",
