The diff doesn't show it very well, but you have an extra level of indentation starting from here, to the end of the file.