[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] A trivial fix. login_unconditionally needs to be called with
# HG changeset patch # User Ewan Mellor <ewan@xxxxxxxxxxxxx> # Node ID 81c9213b3d39573c0b50090958268cb6f068d59e # Parent bd5ebf33f222132d4e4fa37fde8ea67a4e77c1b8 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 <stefanb@xxxxxxxxxx> --- tools/python/xen/xend/XendAuthSessions.py | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r bd5ebf33f222 -r 81c9213b3d39 tools/python/xen/xend/XendAuthSessions.py --- a/tools/python/xen/xend/XendAuthSessions.py Tue Nov 28 18:00:45 2006 +0000 +++ b/tools/python/xen/xend/XendAuthSessions.py Tue Nov 28 18:41:42 2006 +0000 @@ -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-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |