diff options
author | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2009-01-21 23:27:14 +0000 |
---|---|---|
committer | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2009-01-21 23:27:14 +0000 |
commit | ede4f55b3d13b17687720807074cbaf4de293f50 (patch) | |
tree | f5d134e55b0028968c296ff6c43a63c1f95a86e9 /src/sosreport | |
parent | 00ac51473902b95695e4224b3a22f7741ed65dbf (diff) | |
download | sos-ede4f55b3d13b17687720807074cbaf4de293f50.tar.gz |
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
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 |