fixing python2.6 format error

- need {0} instead of {} in format() calls