|
From: <lu...@us...> - 2009-11-22 15:20:15
|
Revision: 351
http://pyscard.svn.sourceforge.net/pyscard/?rev=351&view=rev
Author: ludov
Date: 2009-11-22 15:20:07 +0000 (Sun, 22 Nov 2009)
Log Message:
-----------
pep8: E303 too many blank lines
Modified Paths:
--------------
trunk/pyscard/src/smartcard/CardType.py
trunk/pyscard/src/smartcard/Examples/scard-api/sample_listCards.py
trunk/pyscard/src/smartcard/Examples/scard-api/sample_locateCards.py
Modified: trunk/pyscard/src/smartcard/CardType.py
===================================================================
--- trunk/pyscard/src/smartcard/CardType.py 2009-11-22 15:17:57 UTC (rev 350)
+++ trunk/pyscard/src/smartcard/CardType.py 2009-11-22 15:20:07 UTC (rev 351)
@@ -94,7 +94,6 @@
maskedatr=atr
return self.maskedatr==maskedatr
-
if __name__ == '__main__':
"""Small sample illustrating the use of CardType.py."""
Modified: trunk/pyscard/src/smartcard/Examples/scard-api/sample_listCards.py
===================================================================
--- trunk/pyscard/src/smartcard/Examples/scard-api/sample_listCards.py 2009-11-22 15:17:57 UTC (rev 350)
+++ trunk/pyscard/src/smartcard/Examples/scard-api/sample_listCards.py 2009-11-22 15:20:07 UTC (rev 351)
@@ -56,8 +56,6 @@
if hresult==0:
print i, 'CSP Provider:', providername
-
-
finally:
hresult = SCardReleaseContext( hcontext )
if hresult!=0:
Modified: trunk/pyscard/src/smartcard/Examples/scard-api/sample_locateCards.py
===================================================================
--- trunk/pyscard/src/smartcard/Examples/scard-api/sample_locateCards.py 2009-11-22 15:17:57 UTC (rev 350)
+++ trunk/pyscard/src/smartcard/Examples/scard-api/sample_locateCards.py 2009-11-22 15:20:07 UTC (rev 351)
@@ -96,9 +96,6 @@
if eventstate & SCARD_STATE_UNKNOWN:
print 'State unknowned'
-
-
-
finally:
hresult = SCardForgetCardType( hcontext, znewcardName )
hresult = SCardReleaseContext( hcontext )
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|