mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-16 18:38:32 +03:00
Get rid of Python 2 specific compatibility leftovers
Change-Id: I0068caa775d89349db2ad378fad22e89832b8d20
This commit is contained in:
@@ -21,14 +21,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
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
|
||||
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import select
|
||||
import struct
|
||||
import socket
|
||||
|
||||
@@ -19,8 +19,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import logging as log
|
||||
import serial
|
||||
import time
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import serial
|
||||
import time
|
||||
import os.path
|
||||
|
||||
Reference in New Issue
Block a user