# HG changeset patch # User Goffi # Date 1557213320 -7200 # Node ID 907b1048039449aadc885bde6b86e677633b6a59 # Parent 371e72871e192afabce889bf8794bcccadbbc4c1 mam: fixed confusion between twisted log.msg and log.warning used elsewhere diff -r 371e72871e19 -r 907b10480394 src/mam.py --- a/src/mam.py Tue May 07 08:25:31 2019 +0200 +++ b/src/mam.py Tue May 07 09:15:20 2019 +0200 @@ -120,8 +120,8 @@ # above the total number of items, which means we are complete attributes['complete'] = "true" else: - log.warning(u"no element in RSM request: {xml}".format( - xml = rsm_elt.toXml())) + log.msg("WARNING: no element in RSM request: {xml}".format( + xml = rsm_elt.toXml().encode('utf-8'))) elif item_data.item.name == 'item': msg_data.append([item_data.item['id'], make_message(item_data.item), item_data.created])