Example #1
0
 def get(id):
     return kv.get("S:%s" % id)
Example #2
0
def txt_get(id):
    return kv.get(KV_TXT+str(id)) or '' 
Example #3
0
def txt_get(id):
    return kv.get(KV_TXT + str(id)) or ''
Example #4
0
 def get(id):
     return kv.get("S:%s"%id)
Example #5
0
def txt_log_last_time(url_id):
    t = kv.get(KV_TXT_SAVE_TIME+str(url_id))
    if not t:
        return 0
    return int(t) 
Example #6
0
def txt_log_last_time(url_id):
    t = kv.get(KV_TXT_SAVE_TIME + str(url_id))
    if not t:
        return 0
    return int(t)