diff hgext3rd/fastimport/vendor/python_fastimport/dates.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/dates.py	Tue Jan 19 22:57:27 2021 +0000
+++ b/hgext3rd/fastimport/vendor/python_fastimport/dates.py	Tue Jan 19 23:00:01 2021 +0000
@@ -24,7 +24,7 @@
 """
 import time
 
-from fastimport import errors
+from . import errors
 
 
 def parse_raw(s, lineno=0):