Changeset 053f565171933eb6a36704da06bb93934f1b651b

Show
Ignore:
Timestamp:
03/26/08 21:34:24 (8 months ago)
Author:
Jason Michalski <armooo@armooo.net>
git-committer:
Jason Michalski <armooo@armooo.net> 1206585264 -0500
git-parent:

[4c2ad0371f0e6e46e9599ba5753b1de8583f2550]

git-author:
Jason Michalski <armooo@armooo.net> 1206585264 -0500
Message:

Moved log statment so it will work when there is an exception

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • mind.py

    r6413f2b r053f565  
    9696        xml = ElementTree.parse(result).find('.') 
    9797         
     98        self.__log('__bodyOfferModify\n%s\n\n%sg' % (data, ElementTree.tostring(xml))) 
     99 
    98100        if xml.findtext('state') != 'complete': 
    99101            raise Exception(ElementTree.tostring(xml)) 
     
    102104        content_id = offer_id.replace('of','ct') 
    103105 
    104         self.__log('__bodyOfferModify\n%s\n\n%sg' % (data, ElementTree.tostring(xml))) 
    105106        return offer_id, content_id 
    106107