Skip to content

Commit 69c90ad

Browse files
author
Fernando Ojeda
committed
Fi tox analysis.
1 parent a3d6ef5 commit 69c90ad

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

SoftLayer/CLI/hardware/guests.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
import click
55

66
import SoftLayer
7-
from SoftLayer import utils
8-
from SoftLayer.CLI import environment, formatting, exceptions
7+
from SoftLayer.CLI import environment
8+
from SoftLayer.CLI import exceptions
9+
from SoftLayer.CLI import formatting
910
from SoftLayer.CLI import helpers
11+
from SoftLayer import utils
1012

1113

1214
@click.command()

SoftLayer/CLI/virt/list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
import click
55

66
import SoftLayer
7-
from SoftLayer import utils
87
from SoftLayer.CLI import columns as column_helper
98
from SoftLayer.CLI import environment
109
from SoftLayer.CLI import formatting
1110
from SoftLayer.CLI import helpers
11+
from SoftLayer import utils
1212

1313
# pylint: disable=unnecessary-lambda
1414

SoftLayer/managers/hardware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
import socket
1010
import time
1111

12-
from SoftLayer import utils
1312
from SoftLayer.decoration import retry
1413
from SoftLayer.exceptions import SoftLayerError
1514
from SoftLayer.managers import ordering
1615
from SoftLayer.managers.ticket import TicketManager
16+
from SoftLayer import utils
1717

1818
LOGGER = logging.getLogger(__name__)
1919

SoftLayer/managers/vs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,9 @@ def get_local_disks(self, instance_id):
11601160
return self.guest.getBlockDevices(mask=mask, id=instance_id)
11611161

11621162
def get_hardware_guests(self):
1163-
"""Returns the hardware virtual server associated.
1163+
"""Returns the hardware server vs associated.
1164+
1165+
:return SoftLayer_Hardware[].
11641166
"""
11651167
object_filter = {"hardware": {"networkGatewayMemberFlag": {"operation": 0}}}
11661168
mask = "mask[networkGatewayMemberFlag,virtualHost[guests[powerState]]]"

0 commit comments

Comments
 (0)