laforge has uploaded this change for review. (
https://gerrit.osmocom.org/c/pysim/+/42079?usp=email )
Change subject: pysim.utils.decomposeATR: Fix docutils warning
......................................................................
pysim.utils.decomposeATR: Fix docutils warning
pySim/utils.py:docstring of pySim.utils.decomposeATR:9: WARNING: Block quote
ends without a blank line; unexpected unindent. [docutils]
Change-Id: Ifda4ba15014ba97634fd5bd5c9b19d9110f4670e
---
M pySim/utils.py
1 file changed, 11 insertions(+), 9 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/79/42079/1
diff --git a/pySim/utils.py b/pySim/utils.py
index 7d8e3fa..1fdcefe 100644
--- a/pySim/utils.py
+++ b/pySim/utils.py
@@ -631,15 +631,17 @@
Returns:
dictionary of field and values
- >>> decomposeATR("3B A7 00 40 18 80 65 A2 08 01 01 52")
- { 'T0': {'value': 167},
- 'TB': {1: {'value': 0}},
- 'TC': {2: {'value': 24}},
- 'TD': {1: {'value': 64}},
- 'TS': {'value': 59},
- 'atr': [59, 167, 0, 64, 24, 128, 101, 162, 8, 1, 1, 82],
- 'hb': {'value': [128, 101, 162, 8, 1, 1, 82]},
- 'hbn': 7}
+ Example::
+
+ >>> decomposeATR("3B A7 00 40 18 80 65 A2 08 01 01 52")
+ { 'T0': {'value': 167},
+ 'TB': {1: {'value': 0}},
+ 'TC': {2: {'value': 24}},
+ 'TD': {1: {'value': 64}},
+ 'TS': {'value': 59},
+ 'atr': [59, 167, 0, 64, 24, 128, 101, 162, 8, 1, 1, 82],
+ 'hb': {'value': [128, 101, 162, 8, 1, 1, 82]},
+ 'hbn': 7}
"""
ATR_PROTOCOL_TYPE_T0 = 0
atr_txt = normalizeATR(atr_txt)
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/42079?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ifda4ba15014ba97634fd5bd5c9b19d9110f4670e
Gerrit-Change-Number: 42079
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>