Mercurial > hg > hg-fastimport
diff hgext3rd/fastimport/vendor/python_fastimport/processor.py @ 88:2fc99e3479d9
python-fastimport: Import our own modules using relative pathing
This allows python-fastimport to be embedded as vendor code within
other modules.
This patch has been accepted upstream.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Tue, 19 Jan 2021 23:00:01 +0000 |
| parents | 28704a2a7461 |
| children |
line wrap: on
line diff
--- a/hgext3rd/fastimport/vendor/python_fastimport/processor.py Tue Jan 19 22:57:27 2021 +0000 +++ b/hgext3rd/fastimport/vendor/python_fastimport/processor.py Tue Jan 19 23:00:01 2021 +0000 @@ -32,8 +32,8 @@ import sys import time -from fastimport import errors -from fastimport.helpers import newobject as object +from . import errors +from .helpers import newobject as object class ImportProcessor(object):
