Skip to content

Commit

Permalink
fix: null check for fields
Browse files Browse the repository at this point in the history
  • Loading branch information
nityanandagohain committed Jan 31, 2024
1 parent 76c255b commit 52ab2c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion migration-0.38/migration/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def update_field(field, lookup):
if field["type"] == None or field["dataType"] == None or field["key"] == None:
return field, updated
name = get_type(field["type"])+ "_"+ field["dataType"].lower()+"_" + field["key"]
updated = False
if name in lookup.keys():
field["key"] = lookup[name][0]
updated = True
Expand Down

0 comments on commit 52ab2c9

Please sign in to comment.