Change in pysim[master]: utils: add is_hex function to check hex strings

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

pespin gerrit-no-reply at lists.osmocom.org
Thu Mar 11 14:10:18 UTC 2021


pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/pysim/+/23320 )

Change subject: utils: add is_hex function to check hex strings
......................................................................


Patch Set 1: Code-Review+1

(1 comment)

https://gerrit.osmocom.org/c/pysim/+/23320/1/pySim/utils.py 
File pySim/utils.py:

https://gerrit.osmocom.org/c/pysim/+/23320/1/pySim/utils.py@580 
PS1, Line 580: def is_hex(string, minlen=2, maxlen=None) -> bool:
firs time I see this "-> bool" syntax lol.



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

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ia29a13c9215357dd2adf141f2ef222c823f8456d
Gerrit-Change-Number: 23320
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Thu, 11 Mar 2021 14:10:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210311/d6f459e4/attachment.htm>


More information about the gerrit-log mailing list