Make ignored metadata keys a set

It needs to be a set now for Uranium.

Contributes to issue CURA-4243.
This commit is contained in:
Ghostkeeper 2017-10-27 16:25:52 +02:00
parent 6c4c7fff4d
commit 7ac3c1446b
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A
2 changed files with 4 additions and 4 deletions

View file

@ -95,7 +95,7 @@ class ThreeMFWorkspaceWriter(WorkspaceWriter):
file_in_archive.compress_type = zipfile.ZIP_DEFLATED
# Do not include the network authentication keys
ignore_keys = ["network_authentication_id", "network_authentication_key"]
ignore_keys = {"network_authentication_id", "network_authentication_key"}
serialized_data = container.serialize(ignored_metadata_keys = ignore_keys)
archive.writestr(file_in_archive, serialized_data)