@@ -29,10 +29,10 @@ def parse_element(tag, value):
2929
3030
3131class TLV (OrderedDict ):
32- """ BER-TLV
33- A serialisation format.
32+ """BER-TLV
33+ A serialisation format.
3434
35- Documented in EMV 4.3 Book 3 Annex B
35+ Documented in EMV 4.3 Book 3 Annex B
3636 """
3737
3838 @classmethod
@@ -92,12 +92,12 @@ def __repr__(self):
9292
9393
9494class ASRPD (dict ):
95- """ Application Selection Registered Proprietary Data list.
95+ """Application Selection Registered Proprietary Data list.
9696
97- An almost-TLV structure used in the FCI Discretionary Data object.
98- The tags here are fixed-length.
97+ An almost-TLV structure used in the FCI Discretionary Data object.
98+ The tags here are fixed-length.
9999
100- https://www.emvco.com/wp-content/uploads/2017/05/BookB_Entry_Point_Specification_v2_6_20160809023257319.pdf
100+ https://www.emvco.com/wp-content/uploads/2017/05/BookB_Entry_Point_Specification_v2_6_20160809023257319.pdf
101101 """
102102
103103 @classmethod
@@ -130,13 +130,13 @@ def __repr__(self):
130130
131131
132132class DOL (OrderedDict ):
133- """ Data Object List.
134- This is sent by the card to the terminal to define a structure for
135- future transactions, consisting of an ordered list of data elements and lengths.
133+ """Data Object List.
134+ This is sent by the card to the terminal to define a structure for
135+ future transactions, consisting of an ordered list of data elements and lengths.
136136
137- It's essentially a TLV object without the values.
137+ It's essentially a TLV object without the values.
138138
139- EMV 4.3 Book 3 section 5.4 """
139+ EMV 4.3 Book 3 section 5.4"""
140140
141141 @classmethod
142142 def unmarshal (cls , data ):
@@ -172,8 +172,8 @@ def unserialise(self, data):
172172 return tlv
173173
174174 def serialise (self , data ):
175- """ Given a dictionary of tag -> value, write this data out
176- according to the DOL. Missing data will be null.
175+ """Given a dictionary of tag -> value, write this data out
176+ according to the DOL. Missing data will be null.
177177 """
178178 output = []
179179 for tag , length in self .items ():
@@ -264,7 +264,7 @@ class CVMList(object):
264264
265265 It doesn't seem to get much interesting use on many of the cards I've seen though.
266266
267- EMV 4.3 book 3 section 10.5 """
267+ EMV 4.3 book 3 section 10.5"""
268268
269269 def __init__ (self ):
270270 self .x = None
0 commit comments