# HG changeset patch # User Martin Bornhold # Date 2016-10-10 12:06:26 # Node ID 018cfae0bf6aefa165aeb544ff8af05965923f24 # Parent ed0fd60ba67705e3a07a2d17fd532148c48365e1 vcs: Add a comment about removing some code when dropping Pyro4 support. diff --git a/rhodecode/lib/middleware/simplevcs.py b/rhodecode/lib/middleware/simplevcs.py --- a/rhodecode/lib/middleware/simplevcs.py +++ b/rhodecode/lib/middleware/simplevcs.py @@ -469,6 +469,8 @@ class SimpleVCS(object): for chunk in response: yield chunk except Exception as exc: + # TODO: martinb: Exceptions are only raised in case of the Pyro4 + # backend. Refactor this except block after dropping Pyro4 support. # TODO: johbo: Improve "translating" back the exception. if getattr(exc, '_vcs_kind', None) == 'repo_locked': exc = HTTPLockedRC(*exc.args)