Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fix a small bug in ApacheThriftGenBase class #4181
The way to consume gen_opts_map in ApacheThriftGenBase._thrift_cmd method is not correct.
Change "for item in gen_opts_map" to "for item in gen_opts_map.iteritems()"
One consequence of this bug is that "new_style" option in python_thrift_library is not passed correct, causing thrift to generate old style python classes.
change iteritems to items because of this error: