From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Yss-0000Kn-A5 for qemu-devel@nongnu.org; Thu, 18 Jun 2015 08:25:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5Ysm-0007ja-Fz for qemu-devel@nongnu.org; Thu, 18 Jun 2015 08:25:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Ysm-0007jK-BT for qemu-devel@nongnu.org; Thu, 18 Jun 2015 08:25:24 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 0C31B2DD316 for ; Thu, 18 Jun 2015 12:25:24 +0000 (UTC) Received: from blackfin.pond.sub.org (ovpn-116-36.ams2.redhat.com [10.36.116.36]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5ICPM5A003656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 18 Jun 2015 08:25:23 -0400 From: Markus Armbruster Date: Thu, 18 Jun 2015 14:25:15 +0200 Message-Id: <1434630318-22452-13-git-send-email-armbru@redhat.com> In-Reply-To: <1434630318-22452-1-git-send-email-armbru@redhat.com> References: <1434630318-22452-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PULL 12/15] qapi-types: Don't filter out expressions with 'gen' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Useless, because it can only occur in commands, and we're not dealing with commands here. Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake --- scripts/qapi-types.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/qapi-types.py b/scripts/qapi-types.py index 6bd0b13..86e5ddc 100644 --- a/scripts/qapi-types.py +++ b/scripts/qapi-types.py @@ -329,7 +329,6 @@ fdecl.write(mcgen(''' ''')) exprs = parse_schema(input_file) -exprs = filter(lambda expr: not expr.has_key('gen'), exprs) fdecl.write(guardstart("QAPI_TYPES_BUILTIN_STRUCT_DECL")) for typename in builtin_types.keys(): -- 1.9.3