← Back to team overview

pyax team mailing list archive

[Bug 249847] [NEW] Connection.retrieveSaveResult: resultToIdList called with wrong argument

 

Public bug reported:

pyax's demo.py reports an exception in connection.resultToIdList().
Tracked it down to the calling function,
Connection.retrieveSaveResult(), calling resultToIdList() with the wrong
argument.

To fix, in connection.py

        save_result_list = listify(save_result)
#        id_list = []
#        for save_result in save_result_list:
#            if save_result.get('success', False) is True:
#                id_list.append(save_result['id'])
#                pass
#            continue
        id_list = self.resultToIdList(save_result, success_status=True)

should be:

        save_result_list = listify(save_result)
#        id_list = []
#        for save_result in save_result_list:
#            if save_result.get('success', False) is True:
#                id_list.append(save_result['id'])
#                pass
#            continue
        id_list = self.resultToIdList(save_result_list, success_status=True)

** Affects: pyax
     Importance: Undecided
         Status: New

-- 
Connection.retrieveSaveResult: resultToIdList called with wrong argument
https://bugs.launchpad.net/bugs/249847
You received this bug notification because you are a member of pyax
Developers, which is the registrant for pyax.



Follow ups

References