pym/portage/package/ebuild/fetch.py: Factor out _get_fetch_resume_size
authorW. Trevor King <wking@tremily.us>
Sun, 19 Jan 2014 00:22:16 +0000 (16:22 -0800)
committerW. Trevor King <wking@tremily.us>
Sun, 19 Jan 2014 02:46:42 +0000 (18:46 -0800)
commit8db147529a1958a6c86087a521e33c019e619dec
treeec3b9e4353df397c140aeaeb53d891001022d2b8
parent26b08899dfaa958e93339ba9d33e5bf36f20a914
pym/portage/package/ebuild/fetch.py: Factor out _get_fetch_resume_size

The current fetch() function is quite long, which makes it hard to
know what I can change without adverse side effects.  By pulling this
logic out of the main function, we get clearer logic in fetch() and
more explicit input for the config extraction.
pym/portage/package/ebuild/fetch.py