Tickets
Issues
# TODO: Refactor the sorting and humanize call with db_size module- Id: c74c5efa8f7d40b19af8444b51b00dc9
- Status: Open
- Initial commit: 1374813b9928c3f2c4818c9618252b09f658baea
- Creation date: 2015-01-12 23:06:58
- Last changed: 2015-01-24 14:43:16
- Created by: Laurent Defert
- Last changed by: Laurent Defert
- File: dbannotate/html.py
# TODO: Refactor the sorting and humanize call with db_size module
tables = []
for table in sorted(db_size.total_size, key=db_size.total_size.get, reverse=True):
_table = [table]
for graph in db_size.GRAPHS.keys():
val = getattr(db_size, graph + '_size')
History
-
Changed by Laurent Defert on 2015-01-24 14:43:16 during daf3f2cdb447598e52e28b08eea9ae40e221f29f
-
File:
html.py- dbannotate/html.py