From ede4f55b3d13b17687720807074cbaf4de293f50 Mon Sep 17 00:00:00 2001 From: astokes Date: Wed, 21 Jan 2009 23:27:14 +0000 Subject: resolves bz434626 Wrong directory structure for translations resolves bz436053 /usr/share/sos is not owned by any package git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@551 ef72aa8b-4018-0410-8976-d6e080ef94d8 --- src/sosreport | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sosreport') 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 -- cgit