make the "auth type not permitted" message debug level, for bazaar.

This commit is contained in:
Robey Pointer 2009-07-19 18:49:04 -07:00
parent e06dbde805
commit 0e2e882d0d
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ class AuthHandler (object):
self.transport._log(DEBUG, 'Methods: ' + str(authlist)) self.transport._log(DEBUG, 'Methods: ' + str(authlist))
self.transport.saved_exception = PartialAuthentication(authlist) self.transport.saved_exception = PartialAuthentication(authlist)
elif self.auth_method not in authlist: elif self.auth_method not in authlist:
self.transport._log(INFO, 'Authentication type (%s) not permitted.' % self.auth_method) self.transport._log(DEBUG, 'Authentication type (%s) not permitted.' % self.auth_method)
self.transport._log(DEBUG, 'Allowed methods: ' + str(authlist)) self.transport._log(DEBUG, 'Allowed methods: ' + str(authlist))
self.transport.saved_exception = BadAuthenticationType('Bad authentication type', authlist) self.transport.saved_exception = BadAuthenticationType('Bad authentication type', authlist)
else: else: