#1139 new defect

refactor abbreviate utility methods

Reported by: davidsarah Owned by: somebody
Priority: minor Milestone: eventually
Component: code Version: 1.7.1
Keywords: util cleanup easy Cc:
Launchpad Bug:

Description

The abbreviate_{time,rate,size} methods in src/allmydata/web/common.py are slight generalizations/modifications of code in src/allmydata/util/abbreviate.py. Move them to abbreviate.py and call them directly from web/*.

Change History (0)

Note: See TracTickets for help on using tickets.