aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/utilities.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/utilities.py b/sos/utilities.py
index 353a5a0f..6ab4e18d 100644
--- a/sos/utilities.py
+++ b/sos/utilities.py
@@ -285,7 +285,7 @@ class ImporterHelper(object):
package. """
plugins = []
for path in self.package.__path__:
- if os.path.isdir(path) or path == '':
+ if os.path.isdir(path):
plugins.extend(self._find_plugins_in_dir(path))
return plugins