mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[#2467] Remove unused code
This commit is contained in:
@@ -114,10 +114,7 @@ def shell_body():
|
|||||||
user = cmd_args.auth_user
|
user = cmd_args.auth_user
|
||||||
password = cmd_args.auth_password
|
password = cmd_args.auth_password
|
||||||
secret = b':'.join((user.encode('utf-8'), password.encode('utf-8')))
|
secret = b':'.join((user.encode('utf-8'), password.encode('utf-8')))
|
||||||
if sys.version_info[0] == 3:
|
params.auth = b64encode(secret).strip().decode('ascii')
|
||||||
params.auth = b64encode(secret).strip().decode('ascii')
|
|
||||||
else:
|
|
||||||
params.auth = b64encode(secret).strip().encode('ascii')
|
|
||||||
params.timeout = cmd_args.timeout
|
params.timeout = cmd_args.timeout
|
||||||
params.version = VERSION
|
params.version = VERSION
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user