Dolda2000 GitWeb
/
fulbank.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fsb: Added support for OUTSTANDING_TRANSACTION bankid status.
[fulbank.git]
/
fulbank
/
fsb.py
diff --git
a/fulbank/fsb.py
b/fulbank/fsb.py
index
c7af807
..
44a4849
100644
(file)
--- a/
fulbank/fsb.py
+++ b/
fulbank/fsb.py
@@
-257,6
+257,8
@@
class session(object):
return
elif st == "CANCELLED":
raise autherror("authentication cancelled")
return
elif st == "CANCELLED":
raise autherror("authentication cancelled")
+ elif st == "OUTSTANDING_TRANSACTION":
+ raise autherror("another bankid transaction already in progress")
else:
raise fmterror("unexpected bankid status: " + str(st))
time.sleep(3)
else:
raise fmterror("unexpected bankid status: " + str(st))
time.sleep(3)