Fixed "ValueError: zero length field name in format" for Python 2.6

Do you think it's worthy to be compatible with Python 2.6?