[FIX] Users_ldap : Corrected YAML Warnings,Thanks to Buildbot
bzr revid: jvo@tinyerp.com-20110429111850-hisffd5wrbp19bxi
This commit is contained in:
parent
c3baac6b12
commit
22ecb0f62e
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue