git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
auth fix
[plcapi.git]
/
PLC
/
Auth.py
diff --git
a/PLC/Auth.py
b/PLC/Auth.py
index
f056552
..
8793693
100644
(file)
--- a/
PLC/Auth.py
+++ b/
PLC/Auth.py
@@
-36,6
+36,7
@@
def map_auth(auth):
expected = AnonymousAuth()
else:
raise PLCInvalidArgument("must be 'session', 'password', 'gpg', 'hmac', 'hmac_dummybox', or 'anonymous'", "AuthMethod")
+ return expected
class Auth(Parameter):
"""