(itemkey, item)
return True
This will parse out a dictionary and kill the redis data
This will parse out a dictionary and kill the redis data
This will parse out a dictionary and kill the redis data
def decimateRedis(itemkey, item):
    ''' This will parse out a dictionary and kill the redis data '''
    if "timer" in item['data']:
        try:
            r_server.srem(item['data']['timer'], item['cid'])
        except:
            pass
    try:
        r_server.delete(itemkey)
    except:
        pass
    return True
def decimateRedis ( itemkey , item ) : if "timer" in item [ 'data' ] : try : r_server . srem ( item [ 'data' ] [ 'timer' ] , item [ 'cid' ] ) except : pass try : r_server . delete ( itemkey ) except : pass return True