added ints in string.format() for 2.6 compability