From: <lu...@us...> - 2009-12-06 11:14:23
|
Revision: 363 http://pyscard.svn.sourceforge.net/pyscard/?rev=363&view=rev Author: ludov Date: 2009-12-06 11:14:15 +0000 (Sun, 06 Dec 2009) Log Message: ----------- add a default return value for life_cycle_status() Modified Paths: -------------- trunk/contrib/parseATR/parseATR.py Modified: trunk/contrib/parseATR/parseATR.py =================================================================== --- trunk/contrib/parseATR/parseATR.py 2009-11-28 16:08:02 UTC (rev 362) +++ trunk/contrib/parseATR/parseATR.py 2009-12-06 11:14:15 UTC (rev 363) @@ -274,6 +274,8 @@ def life_cycle_status(lcs): # Table 13 - Life cycle status byte # ISO 7816-4:2004, page 21 + text = "Unknown" + if lcs > 15: text = "Proprietary" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |