diff hgext3rd/fastimport/vendor/python_fastimport/commands.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/commands.py	Tue Jan 19 22:57:27 2021 +0000
+++ b/hgext3rd/fastimport/vendor/python_fastimport/commands.py	Tue Jan 19 23:00:01 2021 +0000
@@ -24,7 +24,7 @@
 import stat
 import sys
 
-from fastimport.helpers import (
+from .helpers import (
     newobject as object,
     utf8_bytes_string,
     repr_bytes,