def _importAndCheckStack(importName):
 try:
  return __import__(importName)
 except ImportError:
  (excType, excValue, excTraceback) = sys.exc_info()
  while excTraceback:
   execName = excTraceback.tb_frame.f_globals['__name__']
   if ((execName is None) or (execName == importName)):
    reraise(excValue, excTraceback)
   excTraceback = excTraceback.tb_next
  raise _NoModuleFound()

def _importAndCheckStack ( importName ) : try : return __import__ ( importName ) except ImportError : ( excType , excValue , excTraceback ) = sys . exc_info ( ) while excTraceback : execName = excTraceback . tb_frame . f_globals [ '__name__' ] if ( ( execName is None ) or ( execName == importName ) ) : reraise ( excValue , excTraceback ) excTraceback = excTraceback . tb_next raise _NoModuleFound ( )
import the given name as a module .