Change in pysim[master]: [pylint] Fix reference to undefined variable 'in_hex'

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Sun May 2 00:56:51 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/24029 )


Change subject: [pylint] Fix reference to undefined variable 'in_hex'
......................................................................

[pylint] Fix reference to undefined variable 'in_hex'

pySim/ts_31_102.py:384:36: E0602: Undefined variable 'in_hex' (undefined-variable)

Change-Id: I094e61c78621f08108f6ad1c71a05bc1e13a895d
---
M pySim/ts_31_102.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/29/24029/1

diff --git a/pySim/ts_31_102.py b/pySim/ts_31_102.py
index de729be..ae255f1 100644
--- a/pySim/ts_31_102.py
+++ b/pySim/ts_31_102.py
@@ -381,7 +381,7 @@
         return hnet_pubkey_list
 
     def _decode_bin(self, in_bin):
-        return self._decode_hex(b2h(in_hex))
+        return self._decode_hex(b2h(in_bin))
 
     def _decode_hex(self, in_hex):
         in_bytes = h2b(in_hex)

-- 
To view, visit https://gerrit.osmocom.org/c/pysim/+/24029
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I094e61c78621f08108f6ad1c71a05bc1e13a895d
Gerrit-Change-Number: 24029
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210502/7425fc50/attachment.htm>


More information about the gerrit-log mailing list