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
commit66bcc278f397b9dbcc5afeb315d8bc9eb66c08aa (patch)
treee4cbb948240f378b72ac893ccfc06146e54ebe01
parent7f4500db0860519a53930f38487db18590457eaa (diff)
downloadastroid-66bcc278f397b9dbcc5afeb315d8bc9eb66c08aa.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 a3fa47b..ec43f3a 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 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