# HG changeset patch # User Marcin Kuzminski # Date 2019-01-17 13:15:28 # Node ID 3ca5ac832cdb0fb11696ae14a65ecd7c8e3d78a9 # Parent 6d456506031a1a18f0a9a97cd4dc71e092b78d8a imports: fixed usage of exceptions in import statements as it's reserved in python3 diff --git a/vcsserver/hgpatches.py b/vcsserver/hgpatches.py --- a/vcsserver/hgpatches.py +++ b/vcsserver/hgpatches.py @@ -63,7 +63,7 @@ def _dynamic_capabilities_wrapper(lfprot def patch_subrepo_type_mapping(): from collections import defaultdict from hgcompat import subrepo - from exceptions import SubrepoMergeException + from vcsserver.exceptions import SubrepoMergeException class NoOpSubrepo(subrepo.abstractsubrepo):