python 2.6 compatibility tweaks

See http://docs.python.org/2/library/string.html#format-string-syntax

 > Changed in version 2.7: The positional argument specifiers can be omitted, so '{} {}' is equivalent to '{0} {1}'.