def getouterframes(frame, context=1):
    framelist = []
    while frame:
        framelist.append((frame,) + getframeinfo(frame, context))
        frame = frame.f_back
    return framelist
Compresses the KML content and returns as KMZ (using the correct 
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/inspect.py/getouterframes--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/gis/shortcuts.py/render_to_kmz