##// END OF EJS Templates
vcs: Add a comment about removing some code when dropping Pyro4 support.
Martin Bornhold -
r978:018cfae0 default
parent child Browse files
Show More
@@ -469,6 +469,8 b' class SimpleVCS(object):'
469 for chunk in response:
469 for chunk in response:
470 yield chunk
470 yield chunk
471 except Exception as exc:
471 except Exception as exc:
472 # TODO: martinb: Exceptions are only raised in case of the Pyro4
473 # backend. Refactor this except block after dropping Pyro4 support.
472 # TODO: johbo: Improve "translating" back the exception.
474 # TODO: johbo: Improve "translating" back the exception.
473 if getattr(exc, '_vcs_kind', None) == 'repo_locked':
475 if getattr(exc, '_vcs_kind', None) == 'repo_locked':
474 exc = HTTPLockedRC(*exc.args)
476 exc = HTTPLockedRC(*exc.args)
General Comments 0
You need to be logged in to leave comments. Login now