Skip to content

Changes

Summary

  1. commands.py: Resolve possible variable use before assignment (details)
  2. commands.py: Resolve possible variable use before assignment (details)
  3. euicc.py: Resolve possible variable use before assignment (details)
  4. osmo-smdpp.py: Resolve possible variable use before assignment (details)
  5. pySim-prog.py: Resolve possible variable use before assignment (details)
  6. pySim-trace.py: Resolve possible variable use before assignment (details)
  7. euicc: clarify which eUICCs are supported (details)
  8. sysmocom_sjs2: Make sure 'Const' is imported (details)
Commit 45b7d0126b82c2bdefeb80ebb2b6b9b41a84789b by laforge
commands.py: Resolve possible variable use before assignment

pySim/commands.py:223:18: E0606: Possibly using variable 'skip' before assignment (possibly-used-before-assignment)

Let's raise an exception in the erroneous case.

Change-Id: Id1a892c3446e472699e77f076c2414277e92c98d
The file was modified pySim/commands.py
Commit bb2cba83c5a336d1b8e03b3cb31b5c6b81bfb7b8 by laforge
commands.py: Resolve possible variable use before assignment

pySim/commands.py:608:39: E0606: Possibly using variable 'p2' before assignment (possibly-used-before-assignment)

Let's raise an exception in the erroneous case.

Change-Id: I23adf2e89aa8a13246cc20ef022c84f0113eb2cd
The file was modified pySim/commands.py
Commit c3d04ab19306c93c9d6af60d185214799700478a by laforge
euicc.py: Resolve possible variable use before assignment

pySim/euicc.py:436:31: E0606: Possibly using variable 'p_id' before assignment (possibly-used-before-assignment)
pySim/euicc.py:455:31: E0606: Possibly using variable 'p_id' before assignment (possibly-used-before-assignment)
pySim/euicc.py:473:31: E0606: Possibly using variable 'p_id' before assignment (possibly-used-before-assignment)

Let's raise an exception in the erroneous case.

Change-Id: Ifdf4651e503bae6ea3e91c89c2121b416a12fb1a
The file was modified pySim/euicc.py
Commit 81bc26cc31769678d9870d0f3116aa8af9b9b292 by laforge
osmo-smdpp.py: Resolve possible variable use before assignment

osmo-smdpp.py:374:72: E0601: Using variable 'iccid_str' before assignment (used-before-assignment)

Let's raise an exception in the erroneous case.

Change-Id: I01b308226e12f91699b1b5c6bb06f853be47e185
The file was modified osmo-smdpp.py
Commit a3f22ea259ac24ab57fa6608e3741a6f10616efd by laforge
pySim-prog.py: Resolve possible variable use before assignment

pySim-prog.py:741:7: E0606: Possibly using variable 'cp' before assignment (possibly-used-before-assignment)

Change-Id: I6ab307db378d2ca76dfeae53dc3befa7c103974d
The file was modified pySim-prog.py
Commit 568d8cf5dbb0ee968b39db425a859167eb79979f by laforge
pySim-trace.py: Resolve possible variable use before assignment

pySim-trace.py:198:27: E0606: Possibly using variable 's' before assignment (possibly-used-before-assignment)

Change-Id: I28c137a20143b2cd6ea9a0d5461ab61fcd6fe935
The file was modified pySim-trace.py
Commit 91ec099680112ae4457c74f6b9c879435330f7d8 by laforge
euicc: clarify which eUICCs are supported

We currently do not support M2M eUICC

Change-Id: I3deb9f181075411484158471012ed449c83028fa
The file was modified pySim/euicc.py
Commit daeba3c1fb4e3e73293dbb546af686b8101bbc2a by laforge
sysmocom_sjs2: Make sure 'Const' is imported

  File "/crypt/space/home/laforge/projects/git/pysim/pySim/sysmocom_sja2.py", line 180, in __init__
    self._construct = Struct(Const(b'\x82'), 'time_unit'/self.TimeUnit, 'value'/Int8ub,
                             ^^^^^
NameError: name 'Const' is not defined

Change-Id: If34a48e349680ef84e68a4a1a19dde536ecda0e6
The file was modified pySim/sysmocom_sja2.py