Note that for SRUing this fix to 0.13.x, the exception handling syntax needs to be adapted to Python2, as it was done Python3-style.
Note that for SRUing this fix to 0.13.x, the exception handling syntax needs to be adapted to Python2, as it was done Python3-style.