mirror of
https://github.com/apache/impala.git
synced 2026-01-24 06:00:49 -05:00
socket.error is the only caught exception using the 'as e' syntax. This patch fixes the syntax to be compatible with python2.4, which does not support it. The shell cancellation tests exercise this path, so no tests need to be added. Change-Id: I5588f25612953a28d0817081005d5770115ca106 Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4638 Reviewed-by: Ishaan Joshi <ishaan@cloudera.com> Tested-by: jenkins