[Checkins] [zopefoundation/Products.ZCatalog] ed0d01: Fix logging issue in KeywordIndex.

GitHub noreply at github.com
Tue Mar 6 08:04:01 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/Products.ZCatalog
  Commit: ed0d0182600fa4aaea84b56733782cf2febd2e99
      https://github.com/zopefoundation/Products.ZCatalog/commit/ed0d0182600fa4aaea84b56733782cf2febd2e99
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-03-06 (Tue, 06 Mar 2018)

  Changed paths:
    M CHANGES.rst
    M src/Products/PluginIndexes/KeywordIndex/KeywordIndex.py

  Log Message:
  -----------
  Fix logging issue in KeywordIndex.

The `debug` method of a logger does not accept an `error` keyword, see
https://docs.python.org/3.6/library/logging.html#logging.Logger.debug
resp.
https://docs.python.org/2/library/logging.html#logging.Logger.debug

This issue did not get noticed because the with the default log level in tests
this log message is discarded.




More information about the checkins mailing list