summaryrefslogtreecommitdiff
path: root/python/ovs/db/idl.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/ovs/db/idl.py')
-rw-r--r--python/ovs/db/idl.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/ovs/db/idl.py b/python/ovs/db/idl.py
index 250e89756..fcb3e97c5 100644
--- a/python/ovs/db/idl.py
+++ b/python/ovs/db/idl.py
@@ -1374,10 +1374,9 @@ class Transaction(object):
for col, val in six.iteritems(row._mutations['_inserts']):
column = row._table.columns[col]
if column.type.is_map():
- opdat = ["map"]
datum = data.Datum.from_python(column.type, val,
_row_to_uuid)
- opdat.append(datum.as_list())
+ opdat = self._substitute_uuids(datum.to_json())
else:
opdat = ["set"]
inner_opdat = []