2.10 is hardcoded, instead of checking that it is indeed the previous version. I'd prefer to have it general enough that switching to 2.12 won't require changes in this code.