From 2b59860da180670c90d563f9a204eff0fe6a58a9 Mon Sep 17 00:00:00 2001 From: Abraham Elmahrek Date: Wed, 7 Jan 2015 21:08:58 -0800 Subject: [PATCH] SQOOP-1977: Sqoop2: Pre-commit hook does not work for Python 2.6 environment (Qian Xu via Abraham Elmahrek) --- dev-support/test-patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-support/test-patch.py b/dev-support/test-patch.py index df01722e..6b0218b3 100755 --- a/dev-support/test-patch.py +++ b/dev-support/test-patch.py @@ -62,7 +62,7 @@ def sqoop_guess_branch(versions): # Verify supported branch def sqoop_verify_branch(branch): - return branch in {"sqoop2", "SQOOP-1082", "SQOOP-1367"} + return branch in ("sqoop2", "SQOOP-1082", "SQOOP-1367",) def execute(cmd, log=True): if log: