[Pcsclite-cvs-commit] r5584 - in /trunk/PCSC/UnitaryTests: ThreadSafe.py stress_apdu.py
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Fri Feb 4 19:25:00 UTC 2011
Author: rousseau
Date: Fri Feb 4 19:24:59 2011
New Revision: 5584
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5584
Log:
Fix PEP8 warnings
Modified:
trunk/PCSC/UnitaryTests/ThreadSafe.py
trunk/PCSC/UnitaryTests/stress_apdu.py
Modified: trunk/PCSC/UnitaryTests/ThreadSafe.py
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/UnitaryTests/ThreadSafe.py?rev=5584&op=diff
==============================================================================
--- trunk/PCSC/UnitaryTests/ThreadSafe.py (original)
+++ trunk/PCSC/UnitaryTests/ThreadSafe.py Fri Feb 4 19:24:59 2011
@@ -45,6 +45,7 @@
if hresult != SCARD_S_SUCCESS:
raise ReleaseContextException(hresult)
+
def main():
"""
main
Modified: trunk/PCSC/UnitaryTests/stress_apdu.py
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/UnitaryTests/stress_apdu.py?rev=5584&op=diff
==============================================================================
--- trunk/PCSC/UnitaryTests/stress_apdu.py (original)
+++ trunk/PCSC/UnitaryTests/stress_apdu.py Fri Feb 4 19:24:59 2011
@@ -43,7 +43,7 @@
after = time()
print data
delta = after - before
- print "%d Command: %02X %02X, delta: %f" % (i, sw1, sw2, delta)
+ print "%d Command: %02X %02X, delta: %f" % (i, sw1, sw2, delta)
if delta > 1:
sys.stderr.write(ctime() + " %f\n" % delta)
i += 1
More information about the Pcsclite-cvs-commit
mailing list