From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SPBUt-0006sV-SB for garchives@archives.gentoo.org; Tue, 01 May 2012 11:44:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0FB39E071D; Tue, 1 May 2012 11:43:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D18DDE071D for ; Tue, 1 May 2012 11:43:41 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 377B81B4023 for ; Tue, 1 May 2012 11:43:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id EDEBBE5403 for ; Tue, 1 May 2012 11:43:39 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1335872590.0be07d7860725a3101381048715edc1b4373a01e.SwifT@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: support/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: support/sedoctool.py X-VCS-Directories: support/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 0be07d7860725a3101381048715edc1b4373a01e X-VCS-Branch: master Date: Tue, 1 May 2012 11:43:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: af943c6d-76e0-4ca8-a804-6627aae77323 X-Archives-Hash: cadede4c56287e6e8e86b675030237f5 commit: 0be07d7860725a3101381048715edc1b4373a01e Author: Sven Vermeulen siphos be> AuthorDate: Tue May 1 11:43:10 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Tue May 1 11:43:10 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/hardened-refp= olicy.git;a=3Dcommit;h=3D0be07d78 For USE=3Ddoc, we need to transform a.has_key(b) into b in a too (python3= ) --- support/sedoctool.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/support/sedoctool.py b/support/sedoctool.py index cd3f1ce..a363e72 100644 --- a/support/sedoctool.py +++ b/support/sedoctool.py @@ -372,7 +372,7 @@ def gen_docs(doc, working_dir, templatedir): for desc in node.getElementsByTagName("summary"): if desc.parentNode =3D=3D node and desc: mod_summary =3D format_html_desc(desc) - if not module_list.has_key(mod_layer): + if not mod_layer in module_list: module_list[mod_layer] =3D {} =20 module_list[mod_layer][mod_name] =3D mod_summary