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 E1EDC13820A for ; Wed, 27 Apr 2016 05:22:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B61F21C023; Wed, 27 Apr 2016 05:22:44 +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 4C65221C023 for ; Wed, 27 Apr 2016 05:22:43 +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 5F9C0340BE2 for ; Wed, 27 Apr 2016 05:22:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 145E4964 for ; Wed, 27 Apr 2016 05:22:38 +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: <1461734440.5b1499d1c8a15cfcbf51fe55bf412f3d0583c41d.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: 5b1499d1c8a15cfcbf51fe55bf412f3d0583c41d X-VCS-Branch: repoman Date: Wed, 27 Apr 2016 05:22:38 +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: 7eca0d10-88ae-4184-a3d3-4d9d698d3f09 X-Archives-Hash: c20d3c1cd781749b4e628a7aa853f8fe commit: 5b1499d1c8a15cfcbf51fe55bf412f3d0583c41d Author: Brian Dolbec gentoo org> AuthorDate: Wed Apr 27 03:20:45 2016 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Wed Apr 27 05:20:40 2016 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=5b1499d1 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 46e9d85..ab1339a 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):