[Pcsclite-cvs-commit] r6985 - trunk/PCSC/src/spy

ludovic.rousseau at free.fr ludovic.rousseau at free.fr
Mon Sep 15 08:03:42 UTC 2014


Author: rousseau
Date: 2014-09-15 08:03:41 +0000 (Mon, 15 Sep 2014)
New Revision: 6985

Modified:
   trunk/PCSC/src/spy/pcsc-spy
Log:
Fix error reported by flake8

pcsc-spy:795:20: E711 comparison to None should be 'if cond is None:'


Modified: trunk/PCSC/src/spy/pcsc-spy
===================================================================
--- trunk/PCSC/src/spy/pcsc-spy	2014-09-13 16:44:50 UTC (rev 6984)
+++ trunk/PCSC/src/spy/pcsc-spy	2014-09-15 08:03:41 UTC (rev 6985)
@@ -792,7 +792,7 @@
         """ constructor """
 
         # use default fifo file?
-        if logfile == None:
+        if logfile is None:
             logfile = os.path.expanduser('~/pcsc-spy')
 
             # create the FIFO file




More information about the Pcsclite-cvs-commit mailing list