mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix style
This commit is contained in:
parent
e7959fc6b9
commit
60b29d5e4d
@ -661,7 +661,7 @@ class RemoteFuncs(object):
|
||||
log.error('Invalid file pointer: load[loc] < 0')
|
||||
return False
|
||||
|
||||
if 'size' in load and load['size'] > file_recv_max_size:
|
||||
if load.get('size', 0) > file_recv_max_size:
|
||||
log.error(
|
||||
'Exceeding file_recv_max_size limit: %s',
|
||||
file_recv_max_size
|
||||
|
Loading…
Reference in New Issue
Block a user