Beispiel #1
0
 def get(id):
     return kv.get("S:%s" % id)
Beispiel #2
0
def txt_get(id):
    return kv.get(KV_TXT+str(id)) or '' 
Beispiel #3
0
def txt_get(id):
    return kv.get(KV_TXT + str(id)) or ''
Beispiel #4
0
 def get(id):
     return kv.get("S:%s"%id)
Beispiel #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) 
Beispiel #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)