diff --git a/pySim/exceptions.py b/pySim/exceptions.py index 156ec623..2ffe5f97 100644 --- a/pySim/exceptions.py +++ b/pySim/exceptions.py @@ -21,14 +21,6 @@ # along with this program. If not, see . # -from __future__ import absolute_import - -try: - # This is for compatibility with python 2 and 3 - from exceptions import Exception -except: - pass - class NoCardError(Exception): pass diff --git a/pySim/transport/calypso.py b/pySim/transport/calypso.py index fd2e1101..7f99d21d 100644 --- a/pySim/transport/calypso.py +++ b/pySim/transport/calypso.py @@ -20,8 +20,6 @@ # along with this program. If not, see . # -from __future__ import absolute_import - import select import struct import socket diff --git a/pySim/transport/modem_atcmd.py b/pySim/transport/modem_atcmd.py index ccf608ca..86d4443d 100644 --- a/pySim/transport/modem_atcmd.py +++ b/pySim/transport/modem_atcmd.py @@ -19,8 +19,6 @@ # along with this program. If not, see . # -from __future__ import absolute_import - import logging as log import serial import time diff --git a/pySim/transport/serial.py b/pySim/transport/serial.py index 11104b1d..03d3f389 100644 --- a/pySim/transport/serial.py +++ b/pySim/transport/serial.py @@ -20,8 +20,6 @@ # along with this program. If not, see . # -from __future__ import absolute_import - import serial import time import os.path