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

you'd be suprised how complicated the testing for this is

closing in favor of #7285 
 I can imagine.  Thanks for closing the issue.
