109
108
x = random.random() + right_now % 1.0 + time.clock() % 1.0
110
109
# Use sha1 because it produces shorter strings.
112
111
# In practice, we'll never get a duplicate, but we'll be anal
114
113
if store.query(Pended).filter_by(token=token).count() == 0: