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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( 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(-)
Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified
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: 3
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210502/fac46c9f/attachment.htm>