summaryrefslogtreecommitdiff
path: root/pysnmp/debug.py
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2016-06-12 14:07:24 +0200
committerIlya Etingof <etingof@gmail.com>2016-06-12 14:07:24 +0200
commit91a1292067bfda55320f188eb1c8cce4af7a3266 (patch)
treec73fd39bf0eaf76207efdc6ed4ed191e50f31bf9 /pysnmp/debug.py
parent912517cb2d79fddc512a1304c18a9b20cb20cf80 (diff)
downloadpysnmp-git-91a1292067bfda55320f188eb1c8cce4af7a3266.tar.gz
converted to new-style classes
Diffstat (limited to 'pysnmp/debug.py')
-rw-r--r--pysnmp/debug.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pysnmp/debug.py b/pysnmp/debug.py
index 80d7d6ec..2fa8679b 100644
--- a/pysnmp/debug.py
+++ b/pysnmp/debug.py
@@ -35,7 +35,7 @@ flagMap = {'io': flagIO,
'all': flagAll}
-class Printer:
+class Printer(object):
def __init__(self, logger=None, handler=None, formatter=None):
if logger is None:
logger = logging.getLogger('pysnmp')
@@ -65,7 +65,7 @@ else:
pass
-class Debug:
+class Debug(object):
defaultPrinter = None
def __init__(self, *flags, **options):