From f5af299240a833f018f4b9c9bff742bbd42e2f85 Mon Sep 17 00:00:00 2001 From: Alexandru Bleotu Date: Wed, 17 May 2017 11:12:22 +0100 Subject: [PATCH] pylint fixes --- salt/config/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/config/__init__.py b/salt/config/__init__.py index e8da67d56f..6c86cc3a84 100644 --- a/salt/config/__init__.py +++ b/salt/config/__init__.py @@ -2082,7 +2082,7 @@ def prepend_root_dir(opts, path_options): # Remove the default root dir prefix tmp_path_def_root_dir = path[len(def_root_dir):] if root_dir and (path == root_dir or - path.startswith(root_dir + os.sep)) : + path.startswith(root_dir + os.sep)): # Remove the root dir prefix tmp_path_root_dir = path[len(root_dir):] if tmp_path_def_root_dir and not tmp_path_root_dir: