Fixes incompatibiity with Python 2.6 str.format

Python 2.6 str.format() does not accept empty placeholders.

>>> '{}'.format('a')
ValueError: zero length field name in format