after_send hook

git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@135 f711b948-2313-0410-aaa9-d29f33439f0b
This commit is contained in:
hploetz 2006-11-21 00:51:32 +00:00
parent 3f9b79c511
commit 3f8d22e4d5
1 changed files with 3 additions and 0 deletions

View File

@ -116,6 +116,9 @@ class Card:
result = self._send_with_retry(apdu)
if hasattr(self, "after_send"):
result = self.after_send(result)
if DEBUG:
print "Ending transaction %i\n%s\n" % (self._i, '-'*80)
self._i = self._i + 1