summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/ovs/db/idl.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/ovs/db/idl.py b/python/ovs/db/idl.py
index 7ecaeee6d..859e4bb2a 100644
--- a/python/ovs/db/idl.py
+++ b/python/ovs/db/idl.py
@@ -1031,7 +1031,8 @@ class Row(object):
return "{table}({data})".format(
table=self._table.name,
data=", ".join("{col}={val}".format(col=c, val=getattr(self, c))
- for c in sorted(self._table.columns)))
+ for c in sorted(self._table.columns)
+ if hasattr(self, c)))
def __getattr__(self, column_name):
assert self._changes is not None