as per mpdehaan, change string formatting to something that will work with python 2.4