'Return the blob tree for the given import name and libs.
"import_name" is the name used in the language\'s
import/use/require statement under which blob
information is generally keyed in the database.
"libs" is an order list of libraries in which to search for
the blob. See database/database.py\'s module docstring
for info on the Library API.
"ctlr" is the EvalController instance. Logging is done
on this, and ctlr.is_aborted() may be used to abort
processing.'

def import_blob_name(self, import_name, libs, ctlr):

    for lib in libs:
        blob = lib.get_blob(import_name)
        if (blob is not None):
            ctlr.info("is    blob    '%s'    from    %s?    yes", import_name, lib)
            return blob
        else:
            ctlr.info("is    blob    '%s'    from    %s?    no", import_name, lib)
    else:
        raise CodeIntelError(("could    not    find    data    for    %s    blob    '%s'" % (self.lang, import_name)))
