call login_unconditionally with 'self.'
PATCH 1/1 call login_unconditionally with 'self.'
A trivial fix. login_unconditionally needs to be called with self.login_unconditionally to avoid "global name 'login_unconditionally' is not defined"
Signed-off-by Stefan Berger <[email protected]>
xen-unstable.hg/tools/python/xen/xend/XendAuthSessions.py +1 -1
@@ -55,7 +55,7 @@ class XendAuthSessions: @return: Session UUID """ if self.is_authorized(username, password): - return login_unconditionally(username) + return self.login_unconditionally(username) raise XendError("Login failed")
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Ewan Mellor
AppliedQuoted 5 lines · Stefan Berger
A trivial fix.
login_unconditionallyneeds to be called with self.login_unconditionally to avoid "global name 'login_unconditionally' is not defined"Signed-off-by Stefan Berger <[email protected]>
D'oh!
Applied, thanks Stefan.
Ewan.