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 | 66bcc278f397b9dbcc5afeb315d8bc9eb66c08aa (patch) | |
tree | e4cbb948240f378b72ac893ccfc06146e54ebe01 | |
parent | 7f4500db0860519a53930f38487db18590457eaa (diff) | |
download | astroid-66bcc278f397b9dbcc5afeb315d8bc9eb66c08aa.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 b3bccc0..074a261 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 |