Skip to content

Commit

Permalink
[sort-] renamed self to sheet #2295
Browse files Browse the repository at this point in the history
  • Loading branch information
saulpw committed Feb 23, 2024
1 parent ad494fe commit 33cdd38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions visidata/sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ def __lt__(self, other):
@Sheet.cached_property
def ordering(sheet) -> 'list[tuple[Column, bool]]':
ret = []
for col, reverse in self._ordering:
for col, reverse in sheet._ordering:
if isinstance(col, str):
col = self.column(col)
col = sheet.column(col)
ret.append((col, reverse))
return ret

Expand Down

0 comments on commit 33cdd38

Please sign in to comment.