Mercurial > kallithea
comparison rhodecode/lib/exceptions.py @ 4070:008e460c5b9d
fixes issue #860.
IMC web commits poisoned caches when they failed. We now
always invalidate caches so objects are refreshed and will be accessible.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 30 Jun 2013 21:30:44 +0200 |
parents | 5293d4bbb1ea |
children | 3b136af34329 |
comparison
equal
deleted
inserted
replaced
4069:27c471c8e231 | 4070:008e460c5b9d |
---|---|
84 _code = CONFIG.get('lock_ret_code') | 84 _code = CONFIG.get('lock_ret_code') |
85 self.code = safe_int(_code, self.code) | 85 self.code = safe_int(_code, self.code) |
86 self.title = self.explanation = ('Repository `%s` locked by ' | 86 self.title = self.explanation = ('Repository `%s` locked by ' |
87 'user `%s`' % (reponame, username)) | 87 'user `%s`' % (reponame, username)) |
88 super(HTTPLockedRC, self).__init__(*args, **kwargs) | 88 super(HTTPLockedRC, self).__init__(*args, **kwargs) |
89 | |
90 | |
91 class IMCCommitError(Exception): | |
92 pass |