Lint: E261 at least two spaces before inline comment

This commit is contained in:
2020-11-07 13:11:03 -05:00
parent 975b52ad8e
commit 7932be3948
10 changed files with 47 additions and 47 deletions

View File

@ -20,4 +20,4 @@
#
###############################################################################
import pvcapid.Daemon # noqa: F401
import pvcapid.Daemon # noqa: F401

View File

@ -6135,13 +6135,13 @@ class API_Provisioner_Profile_Element(Resource):
"""
return api_provisioner.modify_profile(
profile,
None, # Can't modify the profile type
None, # Can't modify the profile type
reqargs.get('system_template', None),
reqargs.get('network_template', None),
reqargs.get('storage_template', None),
reqargs.get('userdata', None),
reqargs.get('script', None),
None, # Can't modify the OVA
None, # Can't modify the OVA
reqargs.get('arg', []),
)

View File

@ -1076,7 +1076,7 @@ def create_vm(self, vm_name, vm_profile, define_vm=True, start_vm=True, script_r
if profile_data.get('profile_type') == 'ova':
is_ova_install = True
is_script_install = False # By definition
is_script_install = False # By definition
else:
is_ova_install = False