Description of problem: I'm unable to get the returned data from a GetAd call. Version-Release number of selected component (if applicable): current svn head How reproducible: using the following python code: def gen_items(self, session, job): def completion(status, args): self.got_data = True ads = dict() model = self.app.model ret = job.GetAd(model.data, completion, ads) while not self.got_data: pass The completion method gets called, but args is: tuple: ('method', 'mrg2.lab.bos.redhat.com:5672', 3, 0, 'OK') Steps to Reproduce: 1. Tested with latest svn cumin/mint code 2. Connecting to broker at mrg2.lab.bos.redhat.com:5672 3. Select Grid tab 4. Select Main pool 5. Select Job with custom id 1.2 Actual results: Job Ads are not returned to completion method Expected results: Job Ads should either be returned to completion method, or the dict that was passed to the GetAd function should be filled with the data. Additional info:
The "args" identifier was being shadowed in this scope, it's fixed now at svn rev 2478.