From 98f04780015ffc079daf5c306815b677f09b1b61 Mon Sep 17 00:00:00 2001 From: Laurent Charignon Date: Thu, 7 Jan 2016 18:30:24 -0800 Subject: [PATCH] cleanup: remove semicolon Summary: This diff is part of a series to cleanup fb-hgext and make it pass check-code. Test Plan: all tests pass Reviewers: #sourcecontrol, ttung Differential Revision: https://phabricator.fb.com/D2812219 --- fbconduit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbconduit.py b/fbconduit.py index 6d6d7d7d5a..e580a7a4c8 100644 --- a/fbconduit.py +++ b/fbconduit.py @@ -64,7 +64,7 @@ def _call_conduit(method, **kwargs): for attempt in xrange(MAX_CONNECT_RETRIES): try: connection.request('POST', path, args, {'Connection': 'Keep-Alive'}) - break; + break except httplib.HTTPException as e: connection.connect() else: