diff options
Diffstat (limited to 'pysnmp/error.py')
-rw-r--r-- | pysnmp/error.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pysnmp/error.py b/pysnmp/error.py index f8004638..e53c6af4 100644 --- a/pysnmp/error.py +++ b/pysnmp/error.py @@ -9,6 +9,7 @@ import sys class PySnmpError(Exception): + def __init__(self, *args): msg = args and str(args[0]) or '' |