vcs: Add a comment about removing some code when dropping Pyro4 support.
This commit is contained in:
parent
d3b91c664e
commit
add98db605
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue