Author: js Date: 2008-10-24 19:10:30 +0200 (Fri, 24 Oct 2008) New Revision: 10569
Modified: trunk/src/common/pep.py Log: A subactivity of other means we have no subactivity.
Modified: trunk/src/common/pep.py =================================================================== --- trunk/src/common/pep.py 2008-10-24 17:00:39 UTC (rev 10568) +++ trunk/src/common/pep.py 2008-10-24 17:10:30 UTC (rev 10569) @@ -332,7 +332,7 @@ del acc.activity['text'] if activity is not None: acc.activity['activity'] = activity - if subactivity is not None: + if subactivity is not None and subactivity != 'other': acc.activity['subactivity'] = subactivity if text is not None: acc.activity['text'] = text @@ -355,7 +355,7 @@ del contact.activity['text'] if activity is not None: contact.activity['activity'] = activity - if subactivity is not None: + if subactivity is not None and subactivity != 'other': contact.activity['subactivity'] = subactivity if text is not None: contact.activity['text'] = text