Fix syntax error

Fixing a syntax error that gets reported when Sentry is installed by pip in Python 2.7.