Remove unused code

This commit is contained in:
Kovid Goyal 2021-04-13 09:02:30 +05:30
parent 8d743e9511
commit 1aeafcaebf
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -40,11 +40,6 @@ Show all environment variables in output not just differing ones.
return {'all_env_vars': opts.all_env_vars} return {'all_env_vars': opts.all_env_vars}
def response_from_kitty(self, boss: Boss, window: Optional[Window], payload_get: PayloadGetType) -> ResponseType: def response_from_kitty(self, boss: Boss, window: Optional[Window], payload_get: PayloadGetType) -> ResponseType:
def serialize_callback(w: Window, result: Dict[str, Any]) -> Dict[str, Any]:
result['is_self'] = True
return result
data = list(boss.list_os_windows(window)) data = list(boss.list_os_windows(window))
if not payload_get('all_env_vars'): if not payload_get('all_env_vars'):
all_env_blocks: List[Dict[str, str]] = [] all_env_blocks: List[Dict[str, str]] = []