From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8C6F71381F3 for ; Thu, 18 Jul 2013 19:26:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E679EE0B20; Thu, 18 Jul 2013 19:26:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 701DDE0B18 for ; Thu, 18 Jul 2013 19:26:00 +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 7C71233E87A for ; Thu, 18 Jul 2013 19:25:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 169D8E5464 for ; Thu, 18 Jul 2013 19:25:57 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1374175287.316ff643c54198004c14dd579863dedc80c99112.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:gsoc13/next commit in: roverlay/util/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/util/mapreader.py X-VCS-Directories: roverlay/util/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: 316ff643c54198004c14dd579863dedc80c99112 X-VCS-Branch: gsoc13/next Date: Thu, 18 Jul 2013 19:25:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2b33a630-09cb-47da-9acd-e908a5b8f2e5 X-Archives-Hash: 1d7fa00a8818ac913ad79c89e59b97ba commit: 316ff643c54198004c14dd579863dedc80c99112 Author: André Erdmann mailerd de> AuthorDate: Thu Jul 18 19:21:27 2013 +0000 Commit: André Erdmann mailerd de> CommitDate: Thu Jul 18 19:21:27 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=316ff643 roverlay/util/mapread: has_context() --- roverlay/util/mapreader.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roverlay/util/mapreader.py b/roverlay/util/mapreader.py index 19d4129..5333bd9 100644 --- a/roverlay/util/mapreader.py +++ b/roverlay/util/mapreader.py @@ -43,6 +43,13 @@ class MapFileParser ( object ): self._items = list() # --- end of zap (...) --- + def has_context ( self ): + return ( + self._deptype_once != deptype.NONE + or self._next is not None + ) + # --- end of has_context (...) --- + def make_result ( self ): return self._items # --- end of make_result (...) --- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BE5D01381F3 for ; Tue, 23 Jul 2013 07:51:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 463DCE09D7; Tue, 23 Jul 2013 07:51:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 635D9E09E7 for ; Tue, 23 Jul 2013 07:51:34 +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 6A7CF33E99B for ; Tue, 23 Jul 2013 07:51:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 0EEA7E546A for ; Tue, 23 Jul 2013 07:51:31 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1374175287.316ff643c54198004c14dd579863dedc80c99112.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/util/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/util/mapreader.py X-VCS-Directories: roverlay/util/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: 316ff643c54198004c14dd579863dedc80c99112 X-VCS-Branch: master Date: Tue, 23 Jul 2013 07:51:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 393e191f-8907-41a1-b11d-7750cba6d88e X-Archives-Hash: 0918641e9f642bed6bee30835d13538b Message-ID: <20130723075131.sgYt2bE7_T1rlpY7j3Vc-17ru96Ptz8gPEBLYMA8pkI@z> commit: 316ff643c54198004c14dd579863dedc80c99112 Author: André Erdmann mailerd de> AuthorDate: Thu Jul 18 19:21:27 2013 +0000 Commit: André Erdmann mailerd de> CommitDate: Thu Jul 18 19:21:27 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=316ff643 roverlay/util/mapread: has_context() --- roverlay/util/mapreader.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roverlay/util/mapreader.py b/roverlay/util/mapreader.py index 19d4129..5333bd9 100644 --- a/roverlay/util/mapreader.py +++ b/roverlay/util/mapreader.py @@ -43,6 +43,13 @@ class MapFileParser ( object ): self._items = list() # --- end of zap (...) --- + def has_context ( self ): + return ( + self._deptype_once != deptype.NONE + or self._next is not None + ) + # --- end of has_context (...) --- + def make_result ( self ): return self._items # --- end of make_result (...) ---