Skip to content

Commit 6a56d70

Browse files
author
Nathan Beittenmiller
committed
PEP8 fixes
1 parent 25ec715 commit 6a56d70

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

SoftLayer/managers/hardware.py

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -306,16 +306,17 @@ def _generate_create_dict(
306306
Translates a list of arguments into a dictionary necessary for creating
307307
a server. NOTE - All items here must be price IDs, NOT quantities!
308308
309-
:param string server: The identification string for the server to order.
310-
This will either be the CPU/Memory combination ID
311-
for bare metal instances or the CPU model for
312-
dedicated servers.
309+
:param string server: The identification string for the server to
310+
order. This will either be the CPU/Memory
311+
combination ID for bare metal instances or the
312+
CPU model for dedicated servers.
313313
:param string hostname: The hostname to use for the new server.
314314
:param string domain: The domain to use for the new server.
315315
:param bool hourly: Flag to indicate if this server should be billed
316316
hourly (default) or monthly. Only applies to bare
317317
metal instances.
318-
:param string location: The location string (data center) for the server
318+
:param string location: The location string (data center) for the
319+
server
319320
:param int os: The operating system to use
320321
:param array disks: An array of disks for the server. Disks will be
321322
added in the order specified.
@@ -324,10 +325,11 @@ def _generate_create_dict(
324325
or a dedicated server (default).
325326
:param int ram: The amount of RAM to order. Only applies to dedicated
326327
servers.
327-
:param int package_id: The package_id to use for the server. This should
328-
either be a chassis ID for dedicated servers or
329-
the bare metal instance package ID, which can be
330-
obtained by calling _get_bare_metal_package_id
328+
:param int package_id: The package_id to use for the server. This
329+
should either be a chassis ID for dedicated
330+
servers or the bare metal instance package ID,
331+
which can be obtained by calling
332+
_get_bare_metal_package_id
331333
:param int disk_controller: The disk controller to use.
332334
"""
333335
arguments = ['server', 'hostname', 'domain', 'location', 'os', 'disks',

0 commit comments

Comments
 (0)