Remove unused code

This commit is contained in:
Kovid Goyal 2022-08-15 20:54:17 +05:30
parent d027f524ce
commit 65fc61a507
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -685,12 +685,6 @@ def remote_control_password(val: str, current_val: Dict[str, str]) -> Iterable[T
yield parts[0], frozenset(parts[1:]) yield parts[0], frozenset(parts[1:])
def allow_remote_control(x: str) -> str:
if x != 'socket-only':
x = 'y' if to_bool(x) else 'n'
return x
def clipboard_control(x: str) -> Tuple[str, ...]: def clipboard_control(x: str) -> Tuple[str, ...]:
return tuple(x.lower().split()) return tuple(x.lower().split())