def kill_oneoff(version, term):
    if version:
        k = 'redirects:v2:oneoffs:%s:%s' % (version, term)
    else:
        k = 'redirects:v2:oneoffs:%s' % term
    print "kill", k
    r.delete(k)
dataset/ETHPy150Open djangome/djangome/djangome/views.py/kill_oneoff/original