Commit 7b2558f1 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

move global network_cache_parameter_dict from Buildout.__init__.

so that it can be imported even when buildout instance is not initialised.
parent ca6a2f94
...@@ -239,6 +239,8 @@ _buildout_default_options = _annotate_section({ ...@@ -239,6 +239,8 @@ _buildout_default_options = _annotate_section({
'use-dependency-links': 'true', 'use-dependency-links': 'true',
}, 'DEFAULT_VALUE') }, 'DEFAULT_VALUE')
network_cache_parameter_dict = {}
class Buildout(DictMixin): class Buildout(DictMixin):
installed_part_options = None installed_part_options = None
...@@ -249,9 +251,6 @@ class Buildout(DictMixin): ...@@ -249,9 +251,6 @@ class Buildout(DictMixin):
__doing__ = 'Initializing.' __doing__ = 'Initializing.'
global network_cache_parameter_dict
network_cache_parameter_dict = {}
# default options # default options
data = dict(buildout=_buildout_default_options.copy()) data = dict(buildout=_buildout_default_options.copy())
self._buildout_dir = os.getcwd() self._buildout_dir = os.getcwd()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment