From 02570a302e71640fa9d73027378c924becba932d Mon Sep 17 00:00:00 2001 From: Alexander Schmidt Date: Tue, 27 Oct 2020 01:06:09 +0100 Subject: [PATCH] clean registry before registering --- src/migrator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/migrator.py b/src/migrator.py index b406689..1bfaacd 100644 --- a/src/migrator.py +++ b/src/migrator.py @@ -16,6 +16,7 @@ class Migrator: try: if not self._reg.is_registered(src_file_path): self._migrate_single(src_file_name, src_file_path, remove) + self._reg.clean() self._reg.register(src_file_path) else: self._reg.refresh(src_file_path) -- 2.39.5