ovsdb-idlc: Fix parsing of "ephemeral" member of "column".
authorBen Pfaff <blp@nicira.com>
Tue, 8 Dec 2009 21:39:42 +0000 (13:39 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 8 Dec 2009 21:41:06 +0000 (13:41 -0800)
ovsdb/ovsdb-idlc.in

index d6fc14ab1437a84aaae8c0dd1c55a5525697b9f5..5a6d81c118c0f9d53cd1b45317d514aff4d02738 100755 (executable)
@@ -93,7 +93,7 @@ class ColumnSchema:
         type = Type.fromJson(mustGetMember(json, 'type', [dict, unicode],
                                            description),
                              'type of %s' % description)
-        ephemeral = getMember(json, 'ephemeral', [True,False], description)
+        ephemeral = getMember(json, 'ephemeral', [bool], description)
         persistent = ephemeral != True
         return ColumnSchema(comment, type, persistent)