Skip to content

Commit 977c6ef

Browse files
committed
Don't remove empty fields
1 parent d89a5c3 commit 977c6ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migration/migration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def write_objects(queue: Queue, fd, object_type: str) -> None:
109109
obj_json = queue.get()
110110
done = obj_json is None
111111
if not done:
112-
obj_json = utilities.remove_empties(obj_json)
112+
obj_json = utilities.remove_nones(obj_json)
113113
if object_type in ("projects", "applications", "portfolios", "users"):
114114
if object_type == "users":
115115
key = obj_json.pop("login", None)

0 commit comments

Comments
 (0)