I believe this will work in Python 2.7 as well. Do you mind changing these to all have the `{0}` syntax instead of the try/catch?