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 CCC3B138206 for ; Fri, 29 Apr 2016 17:25:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ADF1821C08D; Fri, 29 Apr 2016 17:24:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3750521C08F for ; Fri, 29 Apr 2016 17:24:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9962D340D9B for ; Fri, 29 Apr 2016 17:24:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1C43095D for ; Fri, 29 Apr 2016 17:24:46 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1461855041.dc684ee6e4b1f0b8bef7babdf13a1143046c87c5.dolsen@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/repoman/ X-VCS-Repository: proj/portage X-VCS-Files: pym/repoman/scanner.py X-VCS-Directories: pym/repoman/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: dc684ee6e4b1f0b8bef7babdf13a1143046c87c5 X-VCS-Branch: master Date: Fri, 29 Apr 2016 17:24:46 +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: 012675ca-cc3f-4acc-9bc8-a56d1a294153 X-Archives-Hash: 7516739803cf7839b6e63408e4f1a736 commit: dc684ee6e4b1f0b8bef7babdf13a1143046c87c5 Author: Brian Dolbec gentoo org> AuthorDate: Wed Apr 27 03:20:45 2016 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Thu Apr 28 14:50:41 2016 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=dc684ee6 repoman/scanner.py: Mark self.ext_futures private pym/repoman/scanner.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py index a5c54b1..f1a0231 100644 --- a/pym/repoman/scanner.py +++ b/pym/repoman/scanner.py @@ -200,7 +200,7 @@ class Scanner(object): } # initialize the plugin checks here self.modules = {} - self.ext_futures = {} + self._ext_futures = {} self.pkg_level_futures = None def set_kwargs(self, mod): @@ -232,10 +232,10 @@ class Scanner(object): logging.debug("set_func_kwargs(); adding: %s, %s", key, func_kwargs[key]) if func_kwargs[key][0] in ['Future', 'ExtendedFuture']: - if key not in self.ext_futures: + if key not in self._ext_futures: logging.debug( "Adding a new key: %s to the ExtendedFuture dict", key) - self.ext_futures[key] = func_kwargs[key] + self._ext_futures[key] = func_kwargs[key] self._set_future(dynamic_data, key, func_kwargs[key]) else: # builtin python data type dynamic_data[key] = DATA_TYPES[func_kwargs[key][0]]() @@ -249,9 +249,9 @@ class Scanner(object): @param dynamic_data: dictionary ''' - for key in list(self.ext_futures): + for key in list(self._ext_futures): if key not in self.pkg_level_futures: - self._set_future(dynamic_data, key, self.ext_futures[key]) + self._set_future(dynamic_data, key, self._ext_futures[key]) @staticmethod def _set_future(dynamic_data, key, data): 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 D5C57138206 for ; Thu, 28 Apr 2016 15:05:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5BC0E21C05E; Thu, 28 Apr 2016 15:05:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D3D9621C045 for ; Thu, 28 Apr 2016 15:05:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 15355340CEA for ; Thu, 28 Apr 2016 15:05:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39121333 for ; Thu, 28 Apr 2016 15:05:44 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1461855041.dc684ee6e4b1f0b8bef7babdf13a1143046c87c5.dolsen@gentoo> Subject: [gentoo-commits] proj/portage:repoman commit in: pym/repoman/ X-VCS-Repository: proj/portage X-VCS-Files: pym/repoman/scanner.py X-VCS-Directories: pym/repoman/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: dc684ee6e4b1f0b8bef7babdf13a1143046c87c5 X-VCS-Branch: repoman Date: Thu, 28 Apr 2016 15:05:44 +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: 22b645c9-de6c-4a39-91e9-51f42a04bf67 X-Archives-Hash: a5f1f05592906482401b10f3d9d9b06d Message-ID: <20160428150544.ZytmPyEAgZKShM9_1HgBEr8hXz7h8TiVILQPpvzcxXM@z> commit: dc684ee6e4b1f0b8bef7babdf13a1143046c87c5 Author: Brian Dolbec gentoo org> AuthorDate: Wed Apr 27 03:20:45 2016 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Thu Apr 28 14:50:41 2016 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=dc684ee6 repoman/scanner.py: Mark self.ext_futures private pym/repoman/scanner.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py index a5c54b1..f1a0231 100644 --- a/pym/repoman/scanner.py +++ b/pym/repoman/scanner.py @@ -200,7 +200,7 @@ class Scanner(object): } # initialize the plugin checks here self.modules = {} - self.ext_futures = {} + self._ext_futures = {} self.pkg_level_futures = None def set_kwargs(self, mod): @@ -232,10 +232,10 @@ class Scanner(object): logging.debug("set_func_kwargs(); adding: %s, %s", key, func_kwargs[key]) if func_kwargs[key][0] in ['Future', 'ExtendedFuture']: - if key not in self.ext_futures: + if key not in self._ext_futures: logging.debug( "Adding a new key: %s to the ExtendedFuture dict", key) - self.ext_futures[key] = func_kwargs[key] + self._ext_futures[key] = func_kwargs[key] self._set_future(dynamic_data, key, func_kwargs[key]) else: # builtin python data type dynamic_data[key] = DATA_TYPES[func_kwargs[key][0]]() @@ -249,9 +249,9 @@ class Scanner(object): @param dynamic_data: dictionary ''' - for key in list(self.ext_futures): + for key in list(self._ext_futures): if key not in self.pkg_level_futures: - self._set_future(dynamic_data, key, self.ext_futures[key]) + self._set_future(dynamic_data, key, self._ext_futures[key]) @staticmethod def _set_future(dynamic_data, key, data):