Ticket #2621 (closed defect: fixed)
pretty_size(size) fails if size == 512
| Reported by: | gregkempe@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.9.4 |
| Component: | general | Version: | 0.9.3 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
pretty_size() in source:trunk/trac/util.py fails if size is exactly 512, because i == 0 and so the subscript into units[] fails.
Suggest change if size < jump to if size <= jump
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


