

def hashData(targets, startTime, endTime):
    targetsString = ','.join(targets)
    startTimeString = startTime.strftime('%Y%m%d_%H%M')
    endTimeString = endTime.strftime('%Y%m%d_%H%M')
    myHash = ((((targetsString + '@') + startTimeString) + ':') + endTimeString)
    myHash = stripControlChars(myHash)
    return compactHash(myHash)

dataset/ETHPy150Open tmm1/graphite/webapp/graphite/render/hashing.py hashData/original