vavavr00m / boto

Automatically exported from code.google.com/p/boto
1 stars 0 forks source link

MTurkConnection's register_hit_type doesn't return anything. #361

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Call register_hit_type in boto.mturk.MTurkConnection with the correct
arguments.

What is the expected output? What do you see instead?

Expected: I expect to be returned a hittypeID

Got: An empty list.

What version of the product are you using? On what operating system?

I'm using the 1.9b that came with easy_install boto
I'm using Ubuntu 9.10

Please provide any additional information below.

The response actually does contain the HITTypeId so all it required me to
fix the bug was to add a HITTypeId module that parses the HITTypeId out
just like the code does it for Price and change the return statement to
return self._process_request('RegisterHITType', params, [('HITTypeId',
HITTypeId)])

Original issue reported on code.google.com by bradley...@gmail.com on 14 Apr 2010 at 3:09

GoogleCodeExporter commented 9 years ago
Any chance you can submit your changes as a patch?

Thanks,

Mitch

Original comment by Mitch.Ga...@gmail.com on 25 Apr 2010 at 1:56