pym/portage/package/ebuild/fetch.py: Flatten conditionals in _get_fetch_resume_size fetch-refactor-v3
authorW. Trevor King <wking@tremily.us>
Mon, 20 Jan 2014 03:15:57 +0000 (19:15 -0800)
committerW. Trevor King <wking@tremily.us>
Mon, 20 Jan 2014 03:15:57 +0000 (19:15 -0800)
commita1d1844e0bad66bb833f14a6821e809494cb0cad
tree5932dae89e734f2a9b601cb55c989c5ff7a5b11e
parent2b4c89a8be60c042d9afd2fb4151b9736afe36ac
pym/portage/package/ebuild/fetch.py: 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