Fix format for 2.6; accepting list of tuples