def footprint(sobject):
    n = 0
    for a in sobject.__keylist__:
        v = getattr(sobject, a)
        if v is None: continue
        if isinstance(v, Object):
            n += footprint(v)
            continue
        if hasattr(v, '__len__'):
            if len(v): n += 1
            continue
        n +=1
    return n
Marks the hunt as completed.
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/suds/sudsobject.py/footprint--crossover with--dataset/ETHPy150Open google/grr/grr/lib/hunts/implementation.py/HuntRunner._Complete