Mercurial > hg > hg-fastimport
diff hgext3rd/fastimport/vendor/python_fastimport/parser.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/parser.py Tue Jan 19 22:57:27 2021 +0000 +++ b/hgext3rd/fastimport/vendor/python_fastimport/parser.py Tue Jan 19 23:00:01 2021 +0000 @@ -164,12 +164,12 @@ import sys import codecs -from fastimport import ( +from . import ( commands, dates, errors, ) -from fastimport.helpers import ( +from .helpers import ( newobject as object, utf8_bytes_string, )
