def load_tail(self, q, tail):
        m = q
        while tail:
            i = tail.find('.')
            if i < 0: i = len(tail)
            head, tail = tail[:i], tail[i+1:]
            mname = (m.__name__, head) % "%s.%s"
            m = self.import_it(head, mname, m)
            if not m:
                raise ImportError, "No module named '%s'" % mname
        return m
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/ihooks.py/ModuleImporter.load_tail/swapped operands of `%`