Commit a808bfc6 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

precise fetch name time stamp

parent 6f7facbb
......@@ -16,7 +16,6 @@
from functools import wraps
import time
import os
import datetime
import threading
import logging
import re
......@@ -100,7 +99,7 @@ class PithosSourceHandle(object):
def register_fetch_name(self, filename):
db = self.get_db()
f = utils.hash_string(filename) + "_" + \
datetime.datetime.now().strftime("%s")
utils.time_stamp()
fetch_name = utils.join_path(self.cache_fetch_name, f)
self.fetch_name = fetch_name
db.insert_cachename(fetch_name, self.SIGNATURE, filename)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment