Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ def __write_kv_and_features_to_file(
exported_keyvalues, fp, sort_keys=False, width=float("inf")
)
elif format_ == "properties":
javaproperties.dump(exported_keyvalues, fp)
for key, value in exported_keyvalues.items():
fp.write('{}={}\n'.format(javaproperties.escape(key), value))
Comment thread
ChristineWanjau marked this conversation as resolved.
except Exception as exception:
raise FileOperationError(
"Failed to export key-values to file. " + str(exception)
Expand Down
Loading