[FIX] Users_ldap : Corrected YAML Warnings,Thanks to Buildbot

bzr revid: jvo@tinyerp.com-20110429111850-hisffd5wrbp19bxi
This commit is contained in:
Jay Vora (OpenERP) 2011-04-29 16:48:50 +05:30
parent c3baac6b12
commit 22ecb0f62e
1 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ class users(osv.osv):
cr.close()
return res
l.unbind()
except Exception, e:
except Exception:
logger.warning("Cannot auth", exc_info=True)
continue
cr.close()
@ -162,7 +162,7 @@ class users(osv.osv):
cr.close()
return True
l.unbind()
except Exception, e:
except Exception:
logger.warning('cannot check', exc_info=True)
pass
cr.close()