Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion mcp_servers/logbook/logbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def ensure_log():
with open(LOGBOOK, 'x') as logbook:
logbook.write(json.dumps(LOG, indent=2))
logbook.flush()
pass
except FileExistsError:
pass

Expand Down
1 change: 0 additions & 1 deletion mcp_servers/memcache/memcache_backend/dictionary_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def _ensure_memory(self):
with open(self.memory, 'x') as memory:
memory.write(json.dumps(self.memcache))
memory.flush()
pass
except FileExistsError:
pass
def _deflate_memory(self):
Expand Down
2 changes: 0 additions & 2 deletions mcp_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ def mcp_client_params(available_toolboxes: dict, requested_toolboxes: list):
logging.critical(e)
logging.info("Assuming toolbox has default configuration available")
del env[k]
pass
logging.debug(f"Tool call environment: {env}")
if args and isinstance(args, list):
for i, v in enumerate(args):
Expand Down Expand Up @@ -396,7 +395,6 @@ def mcp_client_params(available_toolboxes: dict, requested_toolboxes: list):
logging.critical(e)
logging.info("Assuming toolbox has default configuration available")
del env[k]
pass
server_params['env'] = env
case _:
raise ValueError(f"Unsupported MCP transport {kind}")
Expand Down