This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/23325 ) Change subject: Get rid of Python 2 specific compatibility leftovers ...................................................................... Get rid of Python 2 specific compatibility leftovers Change-Id: I0068caa775d89349db2ad378fad22e89832b8d20 --- M pySim/exceptions.py M pySim/transport/calypso.py M pySim/transport/modem_atcmd.py M pySim/transport/serial.py 4 files changed, 0 insertions(+), 14 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/pySim/exceptions.py b/pySim/exceptions.py index 156ec62..2ffe5f9 100644 --- a/pySim/exceptions.py +++ b/pySim/exceptions.py @@ -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 diff --git a/pySim/transport/calypso.py b/pySim/transport/calypso.py index fd2e110..7f99d21 100644 --- a/pySim/transport/calypso.py +++ b/pySim/transport/calypso.py @@ -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 diff --git a/pySim/transport/modem_atcmd.py b/pySim/transport/modem_atcmd.py index ccf608c..86d4443 100644 --- a/pySim/transport/modem_atcmd.py +++ b/pySim/transport/modem_atcmd.py @@ -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 diff --git a/pySim/transport/serial.py b/pySim/transport/serial.py index 11104b1..03d3f38 100644 --- a/pySim/transport/serial.py +++ b/pySim/transport/serial.py @@ -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 -- To view, visit https://gerrit.osmocom.org/c/pysim/+/23325 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I0068caa775d89349db2ad378fad22e89832b8d20 Gerrit-Change-Number: 23325 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210312/17dd2893/attachment.htm>