OSDN Git Service

util/gen_xmlpool: Make use of python's foreach loop
authorDylan Baker <dylan@pnwbakers.com>
Wed, 24 Oct 2018 19:34:33 +0000 (12:34 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 31 Oct 2018 23:37:46 +0000 (16:37 -0700)
commitd25179469bd56b9319d5944d23e864e35528b552
treeb02536f9b32f6c71ef17cd72a2b55197add4a320
parent465cfcb2663fa732041627e5a35c6cadb7851e75
util/gen_xmlpool: Make use of python's foreach loop

Instead of using a while loop with indexing. This is much cleaner. This
requires some other small changes.

Acked-by: Emil Velikov <emil.velikov@collabora.com>
src/util/xmlpool/gen_xmlpool.py