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 21:38:57 +0000 (13:38 -0800)
commite38cb223682226bb6b520cbc66928a96c6c9a1cf
tree40306049a144e362c503a894bbbc3279cce6b5bd
parenta492125465640e6c9dca36b7e70df4a1f3d475a6
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