diff options
| author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2014-07-24 13:30:37 +0200 |
|---|---|---|
| committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2014-07-24 13:30:37 +0200 |
| commit | 014c53df49a1bd388c5173f574d084d3e842fb50 (patch) | |
| tree | cd5441309cb029bc62ddf03ca0fc99cd25316b45 | |
| parent | 6700d0d86153d051c1e7c36b86e06408eb93fc38 (diff) | |
| download | astroid-git-014c53df49a1bd388c5173f574d084d3e842fb50.tar.gz | |
temporarily add some prints to diagnose the drone.io failure
| -rw-r--r-- | manager.py | 3 | ||||
| -rw-r--r-- | raw_building.py | 1 |
2 files changed, 4 insertions, 0 deletions
@@ -178,6 +178,9 @@ class AstroidManager(OptionsProviderMixIn): modname = modname or module.__name__ if modname in self.astroid_cache: return self.astroid_cache[modname] + from logilab.common.compat import builtins + if module is builtins: + print 'BT LOOKUP' try: # some builtin modules don't have __file__ attribute filepath = module.__file__ diff --git a/raw_building.py b/raw_building.py index b3bccc01..074a261f 100644 --- a/raw_building.py +++ b/raw_building.py @@ -331,6 +331,7 @@ Astroid_BUILDER = InspectBuilder() _CONST_PROXY = {} def astroid_bootstrapping(): """astroid boot strapping the builtins module""" + print 'astroid_bootstrapping' # 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 |
