fix {} formatting for py26