rec_data.items = r
rec_data.orderbyfreq()
rec_data.truncl(config.prefs['maxlist'])
+ rec_data.subtitle = n + " messages sent to"
else:
rec_data.subtitle = n + " messages sent to " + r[0]
section.append_data(rec_data)
else:
- section.append_data(Data(subtitle=n + " messages sent")))
+ section.append_data(Data(subtitle=n + " messages sent"))
logger.info("Found {0} messages sent to {1} recipients".format(n, str(len(r))))
- section.append_data(Data(subtitle="total of " + size))
+ section.append_data(Data(subtitle="Total of " + size))
logger.info("Finished postfix section")
return section