TIGER: modified make_injtimes.py to make it compatible with python v2.6