util.listir: simplify and optimize
authorZac Medico <zmedico@gentoo.org>
Thu, 27 Jun 2013 21:31:49 +0000 (14:31 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 27 Jun 2013 21:31:49 +0000 (14:31 -0700)
commit4f525d2eb71175fb540106152c17145d5a506d60
tree3500471c07f8bfe2ef7ab1a6b4d84ab22d511cfc
parent0196031ce8f5dc8b9385e06013e42c47d1185a3b
util.listir: simplify and optimize

Use zip() to simplify, and fix "list = list + foo" usage to use
list.extend() or equivalent.
pym/portage/util/listdir.py