Skip to content

Commit

Permalink
all repos list ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalGawor committed Jun 11, 2024
1 parent 262280f commit efa0196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doglib/doglib.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,5 +319,5 @@ def is_pid(self, pid_string: Union[str, PID]) -> bool:

def get_all_repositories(self) -> List[dict]:
all_repos = [repo.__dict__() for repo in self.reg_repos]
all_repos.sort(reverse=True, key=lambda x: x["host_name"])
all_repos.sort(reverse=False, key=lambda x: x["host_name"])
return all_repos

0 comments on commit efa0196

Please sign in to comment.