Explorar el Código

fixed a type in get_field_mapping in ParseMapping

tanja hace 4 años
padre
commit
8a4a4e3aff
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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]))