ebuild: fetch: Flatten conditionals in _get_fetch_resume_size fetch-refactor
authorW. Trevor King <wking@tremily.us>
Mon, 20 Jan 2014 03:15:57 +0000 (19:15 -0800)
committerW. Trevor King <wking@tremily.us>
Fri, 24 Jan 2014 18:43:40 +0000 (10:43 -0800)
commitf61bdf37042b4986a723021779751eb00d785121
tree5932dae89e734f2a9b601cb55c989c5ff7a5b11e
parent199c4ba26f4d21c8e590901a236a1476c658fd3a
ebuild: fetch: Flatten conditionals in _get_fetch_resume_size

Make this easier to read by avoiding nested conditionals [1].

[1]: http://article.gmane.org/gmane.linux.gentoo.portage.devel/4058

Reported-by: Tom Wijsman <TomWij@gentoo.org>
pym/portage/package/ebuild/fetch.py