Skip to content

Commit 02dbe2e

Browse files
committed
Remove unused variable
1 parent d887ad7 commit 02dbe2e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sqlmesh/core/context.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -2337,9 +2337,7 @@ def _run_janitor(self, ignore_ttl: bool = False) -> None:
23372337
# Clean up expired environments by removing their views and schemas
23382338
self._cleanup_environments()
23392339

2340-
expired_snapshot_ids, cleanup_targets = self.state_sync.get_expired_snapshots(
2341-
ignore_ttl=ignore_ttl
2342-
)
2340+
_, cleanup_targets = self.state_sync.get_expired_snapshots(ignore_ttl=ignore_ttl)
23432341

23442342
# Remove the expired snapshots tables
23452343
self.snapshot_evaluator.cleanup(

0 commit comments

Comments
 (0)