summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2014-07-24 13:30:37 +0200
committerSylvain Thénault <sylvain.thenault@logilab.fr>2014-07-24 13:30:37 +0200
commit014c53df49a1bd388c5173f574d084d3e842fb50 (patch)
treecd5441309cb029bc62ddf03ca0fc99cd25316b45
parent6700d0d86153d051c1e7c36b86e06408eb93fc38 (diff)
downloadastroid-git-014c53df49a1bd388c5173f574d084d3e842fb50.tar.gz
temporarily add some prints to diagnose the drone.io failure
-rw-r--r--manager.py3
-rw-r--r--raw_building.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/manager.py b/manager.py
index a3fa47ba..ec43f3a4 100644
--- a/manager.py
+++ b/manager.py
@@ -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