From: Ben Pfaff Date: Tue, 8 Dec 2009 21:39:42 +0000 (-0800) Subject: ovsdb-idlc: Fix parsing of "ephemeral" member of "column". X-Git-Tag: v1.0.0~259^2~440 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1264cb08bfcc5cd9372decb53d3e3a7d07cc3a2b;p=sliver-openvswitch.git ovsdb-idlc: Fix parsing of "ephemeral" member of "column". --- diff --git a/ovsdb/ovsdb-idlc.in b/ovsdb/ovsdb-idlc.in index d6fc14ab1..5a6d81c11 100755 --- a/ovsdb/ovsdb-idlc.in +++ b/ovsdb/ovsdb-idlc.in @@ -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)