def get_class(self, name):
        klass = None
        for m in self.modules:
            if hasattr(m, name):
                return getattr(m, name)
        if hasattr(__builtin__, name):
            klass = getattr(__builtin__, name)
        if not klass:
            try:
                klass = self.nodes[name].klass
            except KeyError:
                raise KeyError, "Cannot find class of name %s"%name
        return klass
Given a class name in the given modules returns the class.
dataset/ETHPy150Open VisTrails/VisTrails/contrib/titan/class_tree.py/ClassTree.get_class