diff --git a/salt/fileserver/__init__.py b/salt/fileserver/__init__.py index 22bb763217..41020185c3 100644 --- a/salt/fileserver/__init__.py +++ b/salt/fileserver/__init__.py @@ -331,7 +331,7 @@ class Fileserver(object): path = hcomps[0] comps = hcomps[1].split('&') for comp in comps: - if not '=' in comp: + if '=' not in comp: # Invalid option, skip it continue args = comp.split('=', 1)