Boolean values have Boolean type, not real type.
This does not fix an actual bug because Atom.new() does not have existing
users.
---
python/ovs/db/data.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/python/ovs/db/data.py b/python/ovs/db/data.py
index 7f07334..f62a562 100644
--- a/python/ovs/db/data.py
+++ b/python/ovs/db/data.py
@@ -212,7 +212,7 @@ class Atom(object):
elif type(x) == float:
t = ovs.db.types.RealType
elif x in [False, True]:
- t = ovs.db.types.RealType
+ t = ovs.db.types.BooleanType
elif type(x) in [str, unicode]:
t = ovs.db.types.StringType
elif isinstance(x, uuid):
--
1.7.4.4
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev