[Pcsclite-git-commit] [website] 02/02: matrix.py: improve multi interfaces readers code
Ludovic Rousseau
rousseau at moszumanska.debian.org
Sun Mar 12 15:01:05 UTC 2017
This is an automated email from the git hooks/post-receive script.
rousseau pushed a commit to branch master
in repository website.
commit ac9c2532bfd48089d66e1c7bfa40f5dfb84402e8
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date: Sat Mar 11 11:59:41 2017 +0100
matrix.py: improve multi interfaces readers code
Split the string in 2 strings appended to the list so they can be
re-ordered if needed.
---
matrix.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/matrix.py b/matrix.py
index 3189bed..484c4fc 100755
--- a/matrix.py
+++ b/matrix.py
@@ -106,7 +106,8 @@ def parse_all(path, reader_list):
while reader + "_i%d" % interface in readers:
interface += 1
if interface < 2:
- readers[reader]['features'].append("Multi interface reader, interface 0: " + readers[reader]['iInterface'])
+ readers[reader]['features'].append("Multi interface reader")
+ readers[reader]['features'].append("interface 0: " + readers[reader]['iInterface'])
parse['features'].append("Multi interface reader")
parse['features'].append("interface %d: %s" % (interface, parse['iInterface']))
readers[reader + "_i%d" % interface] = parse
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/website.git
More information about the Pcsclite-cvs-commit
mailing list