Lint: E231 missing whitespace after ','

This commit is contained in:
2020-11-07 12:34:12 -05:00
parent 3cb92fed75
commit 905b81c47d
3 changed files with 11 additions and 11 deletions

View File

@ -160,7 +160,7 @@ class RequestParser(object):
action=reqarg.get('action', None),
choices=reqarg.get('choices', ()),
help=reqarg.get('helptext', None),
location=['args','form']
location=['args', 'form']
)
reqargs = parser.parse_args()
kwargs['reqargs'] = reqargs
@ -3259,7 +3259,7 @@ class API_Storage_Ceph_Pool_Element(Resource):
type: object
id: Message
"""
return api_helper,ceph_pool_list(
return api_helper, ceph_pool_list(
pool,
is_fuzzy=False
)

View File

@ -1311,9 +1311,9 @@ def create_vm(self, vm_name, vm_profile, define_vm=True, start_vm=True, script_r
)
else:
mac_prefix = '52:54:00'
random_octet_A = '{:x}'.format(random.randint(16,238))
random_octet_B = '{:x}'.format(random.randint(16,238))
random_octet_C = '{:x}'.format(random.randint(16,238))
random_octet_A = '{:x}'.format(random.randint(16, 238))
random_octet_B = '{:x}'.format(random.randint(16, 238))
random_octet_C = '{:x}'.format(random.randint(16, 238))
macgen_template = '{prefix}:{octetA}:{octetB}:{octetC}'
eth_macaddr = macgen_template.format(