diff hgext3rd/fastimport/vendor/python_fastimport/processors/filter_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/processors/filter_processor.py	Tue Jan 19 22:57:27 2021 +0000
+++ b/hgext3rd/fastimport/vendor/python_fastimport/processors/filter_processor.py	Tue Jan 19 23:00:01 2021 +0000
@@ -14,7 +14,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 """Import processor that filters the input (and doesn't import)."""
-from fastimport import (
+from .. import (
     commands,
     helpers,
     processor,