mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
[XEND] Remove annoying debugging messages
Signed-off-by: Alastair Tse <atse@xensource.com>
This commit is contained in:
1 parent
3dae87e5fa
commit
901b309fb6
2 files changed
-2
No files matched your search
@@ -291,7 +291,6 @@ class XendAPI:
|
||||
def session_login_with_password(self, username, password):
|
||||
try:
|
||||
session = auth_manager().login_with_password(username, password)
|
||||
log.info("User %s logged in.", username)
|
||||
return xen_api_success(session)
|
||||
except XendError, e:
|
||||
return xen_api_error(XEND_ERROR_AUTHENTICATION_FAILED)
|
||||
|
||||
@@ -44,7 +44,6 @@ class XendAuthSessions:
|
||||
del self.sessions[session]
|
||||
|
||||
def is_session_valid(self, session):
|
||||
log.debug('isSessionValid: %s' % session)
|
||||
if type(session) == type(str()):
|
||||
return (session in self.sessions)
|
||||
return False
|
||||
|
||||