Skip to content

Commit

Permalink
/-/databases sorts alphabetically
Browse files Browse the repository at this point in the history
Should fix test failure in Python 3.5
  • Loading branch information
simonw committed May 16, 2019
1 parent 0dad111 commit cccea85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datasette/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def connected_databases(self):
"is_memory": d.is_memory,
"hash": d.hash,
}
for d in self.databases.values()
for d in sorted(self.databases.values(), key=lambda d: d.name)
]

def versions(self):
Expand Down

0 comments on commit cccea85

Please sign in to comment.