[Pcsclite-cvs-commit] r3382 - /website/matrix.py

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Thu Mar 26 14:40:24 UTC 2009


Author: rousseau
Date: Thu Mar 26 14:40:24 2009
New Revision: 3382

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=3382
Log:
remove parse_note()

Modified:
    website/matrix.py

Modified: website/matrix.py
URL: http://svn.debian.org/wsvn/pcsclite/website/matrix.py?rev=3382&op=diff
==============================================================================
--- website/matrix.py (original)
+++ website/matrix.py Thu Mar 26 14:40:24 2009
@@ -75,9 +75,6 @@
 
     return readers
 
-def parse_note(note):
-    return note.split('\n')
-
 def check_list(path, reader_list):
     cwd = os.getcwd()
     os.chdir(path)
@@ -139,7 +136,7 @@
         # for each reader
         for r in sorted(manufacturer_readers[m]):
             url=supported_readers[r].get('url', "")
-            note = parse_note(supported_readers[r].get('note', ""))
+            note = supported_readers[r].get('note', "").split('\n')
             if (url):
                 note_layer = main_layer.open_layer('reader_with_url',
                     manufacturer=m,




More information about the Pcsclite-cvs-commit mailing list