mirror of
https://github.com/apache/sqoop.git
synced 2025-05-08 11:42:27 +08:00
SQOOP-1977: Sqoop2: Pre-commit hook does not work for Python 2.6 environment
(Qian Xu via Abraham Elmahrek)
This commit is contained in:
parent
3bb9c595d9
commit
2b59860da1
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user