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@us.ibm.com>
This commit is contained in:
Ewan Mellor committed 2006-11-28 18:41:42 +00:00
1 parent ea3b5838d8
commit b496644a2b
1 file changed
+1 -1
+1 -1
View File
@@ -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")
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.