Mercurial > kallithea
changeset 5749:b5bef0b39209
paster: remove unused BasePasterCommand.notify_msg
This method is not referenced anywhere in the Kallithea or Paste code.
Additionally, calling it with any true-ish `log` argument would trigger
a TypeError exception.
author | Søren Løvborg <sorenl@unity3d.com> |
---|---|
date | Wed, 02 Mar 2016 16:21:11 +0100 |
parents | e5f525856315 |
children | b45fb7a3d03b |
files | kallithea/lib/utils.py |
diffstat | 1 files changed, 0 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/lib/utils.py Thu Mar 03 14:19:06 2016 +0100 +++ b/kallithea/lib/utils.py Wed Mar 02 16:21:11 2016 +0100 @@ -738,17 +738,6 @@ takes_config_file = 1 requires_config_file = True - def notify_msg(self, msg, log=False): - """Make a notification to user, additionally if logger is passed - it logs this action using given logger - - :param msg: message that will be printed to user - :param log: logging instance, to use to additionally log this message - - """ - if log and isinstance(log, logging): - log(msg) - def run(self, args): """ Overrides Command.run