def exec_(code, globs=None, locs=None):
        if globs is None:
            frame = sys._getframe(1)
            globs = frame.f_globals
            if locs is None:
                locs = frame.f_locals
            del frame
        elif locs is None:
            locs = globs
        exec("""exec code in globs, locs""")
I think this is unused, replaced by product_from_tiid.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/utils/six.py/exec_--crossover with--dataset/ETHPy150Open Impactstory/total-impact-webapp/totalimpactwebapp/views.py/product_without_needing_profile