aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py
index 3785d610..63a65a68 100644
--- a/sos/plugins/__init__.py
+++ b/sos/plugins/__init__.py
@@ -292,7 +292,7 @@ class Plugin(object):
try:
st = os.lstat(srcpath)
- except OSError, IOError:
+ except (OSError, IOError):
self.log_info("failed to stat '%s'" % srcpath)
return