[Pcsclite-cvs-commit] r3384 - in /website: matrix.py supported.template

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Thu Mar 26 14:57:06 UTC 2009


Author: rousseau
Date: Thu Mar 26 14:57:06 2009
New Revision: 3384

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=3384
Log:
add Features: layer

Modified:
    website/matrix.py
    website/supported.template

Modified: website/matrix.py
URL: http://svn.debian.org/wsvn/pcsclite/website/matrix.py?rev=3384&op=diff
==============================================================================
--- website/matrix.py (original)
+++ website/matrix.py Thu Mar 26 14:57:06 2009
@@ -147,6 +147,9 @@
                     url = url,
                     manufacturer=m,
                     product=supported_readers[r]['iProduct'])
+            features = supported_readers[r].get('features', "")
+            if features:
+                note_layer.write_layer('features', features = features)
             for n in note:
                 note_layer.write_layer('note', contents = n)
     file_writer.close()

Modified: website/supported.template
URL: http://svn.debian.org/wsvn/pcsclite/website/supported.template?rev=3384&op=diff
==============================================================================
--- website/supported.template (original)
+++ website/supported.template Thu Mar 26 14:57:06 2009
@@ -45,6 +45,10 @@
         <p>Manufacturer URL: <a href="%url%">%manufacturer% %product%</a></p>
         {/url}
 
+        {features}
+        <p>Features: %features%</p>
+        {/features}
+
     {/contents}
     <hr>
     <p>Generated on %date%.</p>




More information about the Pcsclite-cvs-commit mailing list