Skip to content

Commit c21d352

Browse files
author
Thomas
committed
PEP8 fixes
1 parent e9f0fb3 commit c21d352

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

netbox/virtualization.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import netbox.exceptions as exceptions
2+
3+
24
class Virtualization(object):
35

46
def __init__(self, netbox_con):
@@ -114,6 +116,7 @@ def update_interface(self, name, virtual_machine, **kwargs):
114116
"""Update virtual_machine interface
115117
116118
:param name: name of the interface to update
119+
:param virtual_machine: name of the virtual-machine to update
117120
:param kwargs: update data
118121
:return: bool True if successful otherwise raise UpdateException
119122
"""
@@ -150,7 +153,7 @@ def get_virtual_machine(self, **kwargs):
150153
def delete_virtual_machine(self, virtual_machine_name):
151154
"""Delete virtual machine
152155
153-
:param name: name of the virtual machine to delete
156+
:param virtual_machine_name: name of the virtual machine to delete
154157
:return: bool True if successful otherwise raise exception
155158
"""
156159
try:
@@ -162,7 +165,7 @@ def delete_virtual_machine(self, virtual_machine_name):
162165
def update_virtual_machine(self, virtual_machine_name, **kwargs):
163166
"""Update virtual-machine
164167
165-
:param name: name of the virtual-machine to update
168+
:param virtual_machine_name: name of the virtual-machine to update
166169
:param kwargs: update data
167170
:return: bool True if successful otherwise raise UpdateException
168171
"""

0 commit comments

Comments
 (0)