Ignore:
Timestamp:
Nov 17, 2009, 11:11:18 AM (11 years ago)
Author:
jjbot
Message:

Adjusted unwrapper functions to be able to deal with input hashes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • web/IbidasSimpleMessage.py

    r265 r266  
    2727   
    2828    ITEM_FN = ('item_id', 'type_id', 'source_id', 'display_name')
    29     ITEMLINK_FN = tuple()
     29    ITEMLINK_FN = ('item_link_id', 'type_id', 'source_id',
     30            'parent_id', 'child_id')
    3031    SET_FN = ('set_id', 'name') # Removed description due to Nones
    3132    SETLINK_FN = tuple()
     
    103104        if not self.itemlinks is None:
    104105            out[self.ITEMLINK_STR] = self.itemlinks.to_python()
    105             out[self.ITEMLINK_FN_STR] = self.item_fn
     106            out[self.ITEMLINK_FN_STR] = self.itemlink_fn
    106107        if not self.terms is None:
    107108            out[self.TERM_STR] = self.terms.to_python()
Note: See TracChangeset for help on using the changeset viewer.