[Pcsclite-git-commit] [contrib] 02/03: plist2txt.py: remove useless printing
Ludovic Rousseau
rousseau at moszumanska.debian.org
Tue Jun 28 16:29:02 UTC 2016
This is an automated email from the git hooks/post-receive script.
rousseau pushed a commit to branch master
in repository contrib.
commit 8ea801b9d47f6de832638572037a7d033cf3be8a
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date: Tue Jun 28 16:21:33 2016 +0200
plist2txt.py: remove useless printing
No need to print all the keys found in the Info.plist.
We only care about ifdVendorID, ifdProductID and ifdFriendlyName
---
plist2txt.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plist2txt.py b/plist2txt.py
index 8cf3842..7615bd4 100755
--- a/plist2txt.py
+++ b/plist2txt.py
@@ -30,8 +30,8 @@ import sys
def convert(filename):
root = plistlib.readPlist(filename)
- for key in root:
- print key
+# for key in root:
+# print key
zipped = zip(root['ifdVendorID'], root['ifdProductID'],
root['ifdFriendlyName'])
for elt in sorted(zipped):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/contrib.git
More information about the Pcsclite-cvs-commit
mailing list