Skip to content

Commit 89d76c4

Browse files
committed
Remove unused variable
1 parent 4df70be commit 89d76c4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

sqlmesh/core/context.py

Lines changed: 1 addition & 3 deletions
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)