From eda6182eddbab48fbd27fe5439b18cb64f19f229 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Tue, 6 Jan 2026 15:00:49 +0100 Subject: [PATCH] transport/init/cosmetic: move copryight header to the top The copyright header seems to be misplaced, let's move it to the top. Change-Id: I8358cca3bc9adb5a186a8b38a3bd90d7aec60d5c --- pySim/transport/__init__.py | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/pySim/transport/__init__.py b/pySim/transport/__init__.py index 099b018d..f82f4df6 100644 --- a/pySim/transport/__init__.py +++ b/pySim/transport/__init__.py @@ -3,18 +3,6 @@ """ pySim: PCSC reader transport link base """ -import os -import abc -import argparse -from typing import Optional, Tuple -from construct import Construct -from osmocom.utils import b2h, h2b, i2h, Hexstr - -from pySim.exceptions import * -from pySim.utils import SwHexstr, SwMatchstr, ResTuple, sw_match, parse_command_apdu -from pySim.cat import ProactiveCommand, CommandDetails, DeviceIdentities, Result - -# # Copyright (C) 2009-2010 Sylvain Munaut # Copyright (C) 2021-2023 Harald Welte # @@ -30,8 +18,17 @@ from pySim.cat import ProactiveCommand, CommandDetails, DeviceIdentities, Result # # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# +import os +import abc +import argparse +from typing import Optional, Tuple +from construct import Construct +from osmocom.utils import b2h, h2b, i2h, Hexstr + +from pySim.exceptions import * +from pySim.utils import SwHexstr, SwMatchstr, ResTuple, sw_match, parse_command_apdu +from pySim.cat import ProactiveCommand, CommandDetails, DeviceIdentities, Result class ApduTracer: def trace_command(self, cmd):