# HG changeset patch # User souliane # Date 1423216201 -3600 # Node ID ebf72fe68d1c3ead3d135f56794d3c0ffec09562 # Parent 0541cb64217ed04308c3bda4de7b6740451481ff quick_frontend: fix the history log message diff -r 0541cb64217e -r ebf72fe68d1c frontends/src/quick_frontend/quick_chat.py --- a/frontends/src/quick_frontend/quick_chat.py Mon Jan 26 02:03:16 2015 +0100 +++ b/frontends/src/quick_frontend/quick_chat.py Fri Feb 06 10:50:01 2015 +0100 @@ -156,7 +156,10 @@ @param search (str): pattern to filter the history results @param profile (str): %(doc_profile)s """ - log.debug(_("now we print the history (%d messages)") % size) + log_msg = _(u"now we print the history") + if size != C.HISTORY_LIMIT_DEFAULT: + log_msg += _(u" (%d messages)" % size) + log.debug(log_msg) def onHistory(history): for line in history: