diff options
Diffstat (limited to 'src/sosreport')
-rwxr-xr-x | src/sosreport | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sosreport b/src/sosreport index e94dc269..c7fbf070 100755 --- a/src/sosreport +++ b/src/sosreport @@ -402,8 +402,8 @@ def sosreport(): # find the plugins path paths = sys.path for path in paths: - if path.strip()[-len("site-packages"):] == "site-packages" and \ - os.path.isdir(path + "/sos/plugins"): + if path.strip()[-len("site-packages"):] == "site-packages" \ + and os.path.isdir(path + "/sos/plugins"): pluginpath = path + "/sos/plugins" # Set up common info and create destinations |