diff --git a/watch/watch.py b/watch/watch.py index 6410dfab0..3058ed9af 100644 --- a/watch/watch.py +++ b/watch/watch.py @@ -171,9 +171,10 @@ class Watch(object): retry_after_410 = True break else: - reason = "%s: %s" % (obj['reason'], obj['message']) - raise client.rest.ApiException(status=obj['code'], - reason=reason) + reason = "%s: %s" % ( + obj['reason'], obj['message']) + raise client.rest.ApiException( + status=obj['code'], reason=reason) else: retry_after_410 = False yield event