Mercurial > kallithea
diff kallithea/lib/middleware/simplegit.py @ 5986:b99e00fb6dd4
lock: simplify debug logging - use the actual response code
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Sat, 25 Jun 2016 02:57:44 +0200 |
parents | 52356a58c1f6 |
children | 81ff11476d16 |
line wrap: on
line diff
--- a/kallithea/lib/middleware/simplegit.py Fri Jun 17 20:23:09 2016 +0200 +++ b/kallithea/lib/middleware/simplegit.py Sat Jun 25 02:57:44 2016 +0200 @@ -210,8 +210,7 @@ lambda: self._invalidate_cache(repo_name)) return result except HTTPLockedRC as e: - _code = CONFIG.get('lock_ret_code') - log.debug('Repository LOCKED ret code %s!', _code) + log.debug('Locked, response %s: %s', e.code, e.title) return e(environ, start_response) except Exception: log.error(traceback.format_exc())