commit:     5b1499d1c8a15cfcbf51fe55bf412f3d0583c41d
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 27 03:20:45 2016 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> 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):

Reply via email to