Lint: E231 missing whitespace after ','
This commit is contained in:
@ -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
|
||||
)
|
||||
|
@ -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(
|
||||
|
Reference in New Issue
Block a user