[Pcsclite-cvs-commit] r3427 - /website/matrix.py
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Fri Apr 10 09:30:25 UTC 2009
Author: rousseau
Date: Fri Apr 10 09:30:25 2009
New Revision: 3427
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=3427
Log:
hack to sort in the order supported, shouldwork, unsupported
Modified:
website/matrix.py
Modified: website/matrix.py
URL: http://svn.debian.org/wsvn/pcsclite/website/matrix.py?rev=3427&op=diff
==============================================================================
--- website/matrix.py (original)
+++ website/matrix.py Fri Apr 10 09:30:25 2009
@@ -229,6 +229,9 @@
index = list()
for r in readers.keys():
index.append([readers[r][f], r])
+ if f == 'section':
+ # hack to sort in the order supported, shouldwork, unsupported
+ index = [(s.replace('supported', 'asupported'),r) for s,r in index]
index.sort()
generate_table(readers, f, [r for f, r in index], fields)
More information about the Pcsclite-cvs-commit
mailing list