From c774a9fec93feedc37a450400a03b83f5f4cb4b9 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 17 Oct 2016 17:34:46 +1300 Subject: python3: clean up super and __future__ --- netlib/exceptions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'netlib/exceptions.py') diff --git a/netlib/exceptions.py b/netlib/exceptions.py index 1787cb72..d0b15d27 100644 --- a/netlib/exceptions.py +++ b/netlib/exceptions.py @@ -5,7 +5,6 @@ Every Exception netlib raises shall be a subclass of NetlibException. See also: http://lucumr.pocoo.org/2014/10/16/on-error-handling/ """ -from __future__ import absolute_import, print_function, division class NetlibException(Exception): @@ -13,7 +12,7 @@ class NetlibException(Exception): Base class for all exceptions thrown by netlib. """ def __init__(self, message=None): - super(NetlibException, self).__init__(message) + super().__init__(message) class Disconnect: -- cgit v1.2.3