fix string format for Python 2.6

This PR fixes a minor string formatting problem when running under Python 2.6