ia64/xen-unstable

changeset 12644:81c9213b3d39

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>
author Ewan Mellor <ewan@xensource.com>
date Tue Nov 28 18:41:42 2006 +0000 (2006-11-28)
parents bd5ebf33f222
children a98bec6aacac
files tools/python/xen/xend/XendAuthSessions.py
line diff
     1.1 --- a/tools/python/xen/xend/XendAuthSessions.py	Tue Nov 28 18:00:45 2006 +0000
     1.2 +++ b/tools/python/xen/xend/XendAuthSessions.py	Tue Nov 28 18:41:42 2006 +0000
     1.3 @@ -55,7 +55,7 @@ class XendAuthSessions:
     1.4          @return: Session UUID
     1.5          """
     1.6          if self.is_authorized(username, password):
     1.7 -            return login_unconditionally(username)
     1.8 +            return self.login_unconditionally(username)
     1.9  
    1.10          raise XendError("Login failed")
    1.11