Mercurial > public > mercurial-scm > hg
diff mercurial/pure/mpatch.py @ 32506:2dcb3d52ef41
cffi: put compiled modules into mercurial.cffi package
Don't pollute the top-level namespace.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 02 May 2017 21:08:38 +0900 |
parents | 151cc3b3d799 |
children | 0e8b0b9a7acc |
line wrap: on
line diff
--- a/mercurial/pure/mpatch.py Tue May 02 21:04:40 2017 +0900 +++ b/mercurial/pure/mpatch.py Tue May 02 21:08:38 2017 +0900 @@ -130,7 +130,7 @@ if modulepolicy not in policynocffi: try: - from _mpatch_cffi import ffi, lib + from ..cffi._mpatch import ffi, lib except ImportError: if modulepolicy == 'cffi': # strict cffi import raise