[Pcsclite-cvs-commit] r7099 - website

ludovic.rousseau at free.fr ludovic.rousseau at free.fr
Thu Mar 5 15:48:51 UTC 2015


Author: rousseau
Date: 2015-03-05 15:48:51 +0000 (Thu, 05 Mar 2015)
New Revision: 7099

Modified:
   website/matrix.py
Log:
Skip lines containing "IFD does not support"

For example:
 IFD does not support GET_DATA_RATES request: Broken pipe
is not a valid "field: value" pair


Modified: website/matrix.py
===================================================================
--- website/matrix.py	2015-03-05 15:42:59 UTC (rev 7098)
+++ website/matrix.py	2015-03-05 15:48:51 UTC (rev 7099)
@@ -65,6 +65,10 @@
         # remove the \n
         line = line[0:-1]
 
+        # ignore IFD does not support... lines
+        if "IFD does not support" in line:
+            continue
+
         l = line.strip(" ").split(':')
         if (len(l) > 1):
             reader_dict[l[0]] = l[1].strip(" ")




More information about the Pcsclite-cvs-commit mailing list