Skip to content

Commit f6b2dce

Browse files
committed
move out get_installed_sasl
1 parent c49168e commit f6b2dce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyhive/hive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def __init__(
250250
# Password doesn't matter in NONE mode, just needs to be nonempty.
251251
password = 'x'
252252

253-
self._transport = thrift_sasl.TSaslClientTransport(lambda : get_installed_sasl(host=host, sasl_auth=sasl_auth, service=kerberos_service_name, username=username, password=password), sasl_auth, socket)
253+
self._transport = thrift_sasl.TSaslClientTransport(lambda: get_installed_sasl(host=host, sasl_auth=sasl_auth, service=kerberos_service_name, username=username, password=password), sasl_auth, socket)
254254
else:
255255
# All HS2 config options:
256256
# https://cwiki.apache.org/confluence/display/Hive/Setting+Up+HiveServer2#SettingUpHiveServer2-Configuration

0 commit comments

Comments
 (0)