[Pcsclite-cvs-commit] r6994 - trunk/PCSC/UnitaryTests

ludovic.rousseau at free.fr ludovic.rousseau at free.fr
Fri Sep 19 16:04:48 UTC 2014


Author: rousseau
Date: 2014-09-19 16:04:48 +0000 (Fri, 19 Sep 2014)
New Revision: 6994

Modified:
   trunk/PCSC/UnitaryTests/SCardBlockingBehaviourTest.py
Log:
Fix pyflakes warning

SCardBlockingBehaviourTest.py:249: local variable 'hresult' is assigned to but never useX


Modified: trunk/PCSC/UnitaryTests/SCardBlockingBehaviourTest.py
===================================================================
--- trunk/PCSC/UnitaryTests/SCardBlockingBehaviourTest.py	2014-09-19 16:02:09 UTC (rev 6993)
+++ trunk/PCSC/UnitaryTests/SCardBlockingBehaviourTest.py	2014-09-19 16:04:48 UTC (rev 6994)
@@ -246,7 +246,7 @@
             failed = True
         else:
             failed = False
-        hresult = SCardEndTransaction(hcard, SCARD_LEAVE_CARD)
+        SCardEndTransaction(hcard, SCARD_LEAVE_CARD)
 
         # Leave enough time to terminate the test thread
         time.sleep(1)




More information about the Pcsclite-cvs-commit mailing list