client/ssh/wrapper/config.py: rm unnecessary parens

This commit is contained in:
Chris Rebert 2014-01-30 14:26:10 -08:00
parent 7c5e6015ba
commit aa900f3661

View File

@ -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