diff --git a/confluent_client/bin/confetty b/confluent_client/bin/confetty index 044cec95..b4d2525b 100755 --- a/confluent_client/bin/confetty +++ b/confluent_client/bin/confetty @@ -642,7 +642,7 @@ while inconsole or not doexit: try: server_connect() connected = True - except socket.gaierror, socket.error: + except (socket.gaierror, socket.error): pass if not connected: time.sleep(1)