HomePhabricator

py3: catch AttributeError too with ImportError

Authored by pulkit.

Description

py3: catch AttributeError too with ImportError

Looks like py3 raises AttributeError instead of ImportError. This is caught on
windows.

Differential Revision: https://phab.mercurial-scm.org/D7965

Details

Committed
pulkitTue, Jan 21, 4:47 PM
Differential Revision
D7965: py3: catch AttributeError too with ImportError
Parents
rHG2d1b2ad3705b: archival: use walk() instead of matches() on manifest
Branches
Unknown
Tags
Unknown