mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
/-/databases sorts alphabetically
Should fix test failure in Python 3.5
This commit is contained in:
parent
0dad111d24
commit
cccea85be6
1 changed files with 1 additions and 1 deletions
|
|
@ -559,7 +559,7 @@ class Datasette:
|
||||||
"is_memory": d.is_memory,
|
"is_memory": d.is_memory,
|
||||||
"hash": d.hash,
|
"hash": d.hash,
|
||||||
}
|
}
|
||||||
for d in self.databases.values()
|
for d in sorted(self.databases.values(), key=lambda d: d.name)
|
||||||
]
|
]
|
||||||
|
|
||||||
def versions(self):
|
def versions(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue