summaryrefslogtreecommitdiffstats
path: root/Lib/xdrlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/xdrlib.py')
-rw-r--r--Lib/xdrlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xdrlib.py b/Lib/xdrlib.py
index 7b02c41..2706047 100644
--- a/Lib/xdrlib.py
+++ b/Lib/xdrlib.py
@@ -13,7 +13,7 @@ except ImportError:
__all__ = ["Error", "Packer", "Unpacker", "ConversionError"]
# exceptions
-class Error:
+class Error(Exception):
"""Exception class for this module. Use:
except xdrlib.Error, var: