Follow-up to r6171: don't use generator syntax, as we still support Python 2.3.
Follow-up to r6171: don't use generator syntax, as we still support Python 2.3.

Closes #6376.

git-svn-id: f68c6b3b1dcd5d00a2560c384475aaef3bc99487@6183 af82e41b-90c4-0310-8c96-b1721e28e2e2

moreati/trac-gitsvn,exocad/exotrac,dafrito/trac-mirror,dokipen/trac,dokipen/trac,moreati/trac-gitsvn,moreati/trac-gitsvn,exocad/exotrac,dafrito/trac-mirror,exocad/exotrac,dafrito/trac-mirror,exocad/exotrac,moreati/trac-gitsvn,dafrito/trac-mirror,dokipen/trac