diff options
| author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2013-04-12 14:56:15 +0200 |
|---|---|---|
| committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2013-04-12 14:56:15 +0200 |
| commit | 56c853b254ae1c4de94517fbba465af3808aa1e5 (patch) | |
| tree | c9af4312cbbe0f44ef2e519134db6b219dbb5091 /raw_building.py | |
| parent | 30b7c4eb775c1b325ec8e588cbbfa76119436547 (diff) | |
| download | astroid-git-56c853b254ae1c4de94517fbba465af3808aa1e5.tar.gz | |
fix dumb name error, ASTNG_BUILDER was later used
--HG--
branch : stable
Diffstat (limited to 'raw_building.py')
| -rw-r--r-- | raw_building.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/raw_building.py b/raw_building.py index fb234abc..5a9340bf 100644 --- a/raw_building.py +++ b/raw_building.py @@ -316,6 +316,7 @@ class InspectBuilder(object): ### astng boot strapping ################################################### ### +ASTNG_BUILDER = InspectBuilder() _CONST_PROXY = {} def astng_boot_strapping(): @@ -323,8 +324,7 @@ def astng_boot_strapping(): # this boot strapping is necessary since we need the Const nodes to # inspect_build builtins, and then we can proxy Const from logilab.common.compat import builtins - astng_builder = InspectBuilder() - astng_builtin = astng_builder.inspect_build(builtins) + astng_builtin = ASTNG_BUILDER.inspect_build(builtins) for cls, node_cls in CONST_CLS.items(): if cls is type(None): proxy = build_class('NoneType') |
