pym/portage/package/ebuild/fetch.py: Factor out _get_checksum_failure_max_tries
authorW. Trevor King <wking@tremily.us>
Sun, 19 Jan 2014 00:11:04 +0000 (16:11 -0800)
committerW. Trevor King <wking@tremily.us>
Sun, 19 Jan 2014 21:38:57 +0000 (13:38 -0800)
commita492125465640e6c9dca36b7e70df4a1f3d475a6
tree25590d52c913f356ba04455b2076d7a9c24f46af
parent08cd954a46def397ca7aa62e5f738cd2fa77a228
pym/portage/package/ebuild/fetch.py: Factor out _get_checksum_failure_max_tries

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