cards: rename class "Card" to "SimCard"
There are the classes IsimCard and UsimCard, which inheret from Card,
which is the base class for a normal non ISIM/USIM simcard. Card also
has methods in it that are related to simcards, so it is not just any
"Card", it is a SimCard and should be called that way.
Change-Id: I2077ded44bc2297b8d478c5bd1895951b494efcc
diff --git a/pySim-read.py b/pySim-read.py
index 1f2e123..00194b4 100755
--- a/pySim-read.py
+++ b/pySim-read.py
@@ -34,7 +34,7 @@
from pySim.commands import SimCardCommands
from pySim.transport import init_reader, argparse_add_reader_args
-from pySim.cards import card_detect, Card, UsimCard, IsimCard
+from pySim.cards import card_detect, SimCard, UsimCard, IsimCard
from pySim.utils import h2b, swap_nibbles, rpad, dec_imsi, dec_iccid, dec_msisdn
from pySim.utils import format_xplmn_w_act, dec_st
from pySim.utils import h2s, format_ePDGSelection
@@ -75,7 +75,7 @@
print("Reading ...")
# Initialize Card object by auto detecting the card
- card = card_detect("auto", scc) or Card(scc)
+ card = card_detect("auto", scc) or SimCard(scc)
# Read all AIDs on the UICC
card.read_aids()