mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
client/ssh/wrapper/config.py: rm unnecessary parens
This commit is contained in:
parent
7c5e6015ba
commit
aa900f3661
@ -77,7 +77,7 @@ def manage_mode(mode):
|
||||
if mode is None:
|
||||
return None
|
||||
ret = str(mode).lstrip('0').zfill(4)
|
||||
if (ret[0] != '0'):
|
||||
if ret[0] != '0':
|
||||
return '0{0}'.format(ret)
|
||||
return ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user