make redset python3 compatible

I guess in a 2.x environment we're not using a generator here? Or was this changed in a recent 2.7.x build?