瀏覽代碼

fixed type in ParseMapping

tanja 4 年之前
父節點
當前提交
2c9e3f5a20
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cdplib/db_migration/ParseMapping.py

+ 1 - 1
cdplib/db_migration/ParseMapping.py

@@ -86,7 +86,7 @@ class ParseMapping:
             source_name_tag = self._source_name_tag
 
         if target_name_tag is None:
-            source_name_tag = self._target_name_tag
+            target_name_tag = self._target_name_tag
 
         assert(all([set([source_name_tag, target_name_tag]) <= set(d)
                     for d in self._mapping]))