From aa900f36616f37cedf1a033a5cfff28d47cccfa6 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 30 Jan 2014 14:26:10 -0800 Subject: [PATCH] client/ssh/wrapper/config.py: rm unnecessary parens --- salt/client/ssh/wrapper/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/client/ssh/wrapper/config.py b/salt/client/ssh/wrapper/config.py index 169ef750d1..06e2b7443e 100644 --- a/salt/client/ssh/wrapper/config.py +++ b/salt/client/ssh/wrapper/config.py @@ -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