aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/human.py
Commit message (Collapse)AuthorAgeFilesLines
* Utils cleanupsAldo Cortesi2016-06-071-0/+14
| | | | | | | | - Move more stuff that belongs in netlib.human - Move some stuff to near the only use - Zap mitmproxy.utils.timestamp(). I see the rationale, but we used it interchangeably with time.time() throughout the project. Since time.time() dominates in the codebase and timestamp() is such low utility, away it goes.
* Satisfy flake8Aldo Cortesi2016-05-311-1/+1
|
* Unify and make symmetric pretty_size and parse_sizeAldo Cortesi2016-05-311-17/+16
|
* Move human-friendly format functions to netlib.human, remove redundant ↵Aldo Cortesi2016-05-311-0/+51
implementations