mirror of https://gerrit.osmocom.org/pysim
Philipp Maier
6bfa8a8533
When an exception occurs while initializing or handling the card we print a traceback, but we do not print any info that allows us to identify the device that was involved when the exception occurred. Let's include the device path or number in the error message before we print the traceback. In order to make it easier to print the device information, let's add a __str__() method to all of our devices. This method shall return the device number or path. Related: OS#6210 Change-Id: I200463e692245da40ea6d5b609bfc0ca02d15bdb |
||
---|---|---|
.. | ||
__init__.py | ||
calypso.py | ||
modem_atcmd.py | ||
pcsc.py | ||
serial.py |