# HG changeset patch # User Søren Løvborg # Date 2016-03-02 16:21:11 # Node ID b5bef0b3920976bd0423b44de2d053c5160aab2a # Parent e5f525856315e1b04df25191dc5060bcc73cdb93 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. diff --git a/kallithea/lib/utils.py b/kallithea/lib/utils.py --- a/kallithea/lib/utils.py +++ b/kallithea/lib/utils.py @@ -738,17 +738,6 @@ class BasePasterCommand(Command): 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