- changed vpcd driver to use ifdhandler api v 3.0, since

support for v 1.0 has been dropped as of pcsc-lite 1.6
- fixed initialization error of vpcd due to uninitialized value
- changed virtual smartcard to use todays python syntax


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@163 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2010-06-22 14:06:07 +00:00
parent 34cbb09b80
commit 0b03fced4a
3 changed files with 60 additions and 37 deletions

View File

@@ -387,7 +387,7 @@ class VirtualICC(object): # {{{
try:
self.sock = self.connectToPort(host, port)
self.sock.settimeout(None)
except socket.error as e:
except socket.error, e:
print "Failed to open socket: " + str(e) + ". Is pcscd running? Is vpcd installed?"
sys.exit()