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-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1264cb08bfcc5cd9372decb53d3e3a7d07cc3a2b;p=openvswitch ovsdb-idlc: Fix parsing of "ephemeral" member of "column". --- diff --git a/ovsdb/ovsdb-idlc.in b/ovsdb/ovsdb-idlc.in index d6fc14ab..5a6d81c1 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)