THRIFT-5885 Fix enum generation
Client: py
Patch: Carel Combrink

This closes #3232
2 files changed