[Checkins] [zopefoundation/Products.ZCatalog] 1f2f10: Fix StopIteration deprecation warning

GitHub noreply at github.com
Fri Aug 10 09:34:09 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/Products.ZCatalog
  Commit: 1f2f105081df5e0dd2be400d15e43d721a5f94bc
      https://github.com/zopefoundation/Products.ZCatalog/commit/1f2f105081df5e0dd2be400d15e43d721a5f94bc
  Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
    M src/Products/PluginIndexes/UUIDIndex/UUIDIndex.py
    M src/Products/PluginIndexes/unindex.py

  Log Message:
  -----------
  Fix StopIteration deprecation warning


  Commit: 4d3d01da1f1739d9927d0daf1ec429d833b2aaa7
      https://github.com/zopefoundation/Products.ZCatalog/commit/4d3d01da1f1739d9927d0daf1ec429d833b2aaa7
  Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M setup.cfg
    M src/Products/PluginIndexes/tests/test_unindex.py
    M src/Products/ZCTextIndex/tests/testIndex.py
    M src/Products/ZCTextIndex/tests/testLexicon.py
    M src/Products/ZCTextIndex/tests/testZCTextIndex.py
    M src/Products/ZCatalog/tests/test_catalog.py
    M src/Products/ZCatalog/tests/test_plan.py
    M src/Products/ZCatalog/tests/test_zcatalog.py

  Log Message:
  -----------
  Fix deprecation warnings & flake8


  Commit: 0ad2949ef46efcccfc0f3a8895e6e37fbe29c8a3
      https://github.com/zopefoundation/Products.ZCatalog/commit/0ad2949ef46efcccfc0f3a8895e6e37fbe29c8a3
  Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M src/Products/PluginIndexes/BooleanIndex/BooleanIndex.py
    M src/Products/PluginIndexes/CompositeIndex/CompositeIndex.py
    M src/Products/PluginIndexes/DateIndex/DateIndex.py
    M src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
    M src/Products/PluginIndexes/FieldIndex/FieldIndex.py
    M src/Products/PluginIndexes/KeywordIndex/KeywordIndex.py
    M src/Products/PluginIndexes/PathIndex/PathIndex.py
    M src/Products/PluginIndexes/TopicIndex/FilteredSet.py
    M src/Products/PluginIndexes/TopicIndex/TopicIndex.py
    M src/Products/PluginIndexes/UUIDIndex/UUIDIndex.py
    M src/Products/PluginIndexes/cache.py
    M src/Products/PluginIndexes/unindex.py
    M src/Products/PluginIndexes/util.py

  Log Message:
  -----------
  flake8


  Commit: e0984b1ff526d98fc179190cb238374e3895c3fc
      https://github.com/zopefoundation/Products.ZCatalog/commit/e0984b1ff526d98fc179190cb238374e3895c3fc
  Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py

  Log Message:
  -----------
  Fix security decorators


  Commit: b7a39e70bec1ac900ca1fb9f1c8c6073768f982d
      https://github.com/zopefoundation/Products.ZCatalog/commit/b7a39e70bec1ac900ca1fb9f1c8c6073768f982d
  Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M src/Products/ZCatalog/Catalog.py

  Log Message:
  -----------
  Fix deprecated 'warn' method


  Commit: 255fe5ff5fd83646dad530470e68efe9aaec7ea7
      https://github.com/zopefoundation/Products.ZCatalog/commit/255fe5ff5fd83646dad530470e68efe9aaec7ea7
  Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M src/Products/PluginIndexes/cache.py

  Log Message:
  -----------
  Remove redundant code


  Commit: 530180db3b9bf5397f087f2415c29c987cbcce91
      https://github.com/zopefoundation/Products.ZCatalog/commit/530180db3b9bf5397f087f2415c29c987cbcce91
  Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M src/Products/PluginIndexes/DateRangeIndex/tests.py

  Log Message:
  -----------
  flake8 & coverage


  Commit: 0eb7c21f3e9b17dd50bfe0d97cacf755ebbe45e0
      https://github.com/zopefoundation/Products.ZCatalog/commit/0eb7c21f3e9b17dd50bfe0d97cacf755ebbe45e0
  Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
  Date:   2018-05-21 (Mon, 21 May 2018)

  Changed paths:
    M src/Products/PluginIndexes/unindex.py

  Log Message:
  -----------
  Fix superfluous %


  Commit: f40323ae15c18d75334ae693603d6495ca04bcb7
      https://github.com/zopefoundation/Products.ZCatalog/commit/f40323ae15c18d75334ae693603d6495ca04bcb7
  Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
  Date:   2018-07-10 (Tue, 10 Jul 2018)

  Changed paths:
    M src/Products/ZCatalog/tests/test_catalog.py
    M src/Products/ZCatalog/tests/test_plan.py
    M src/Products/ZCatalog/tests/test_zcatalog.py

  Log Message:
  -----------
  Replace assertTrue(A not in B) with assertNotIn(A, B)


  Commit: 5b3d77b1dbf62ad2c2894a3d57a577146ec2f608
      https://github.com/zopefoundation/Products.ZCatalog/commit/5b3d77b1dbf62ad2c2894a3d57a577146ec2f608
  Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
  Date:   2018-07-10 (Tue, 10 Jul 2018)

  Changed paths:
    M src/Products/PluginIndexes/CompositeIndex/tests/testCompositeIndex.py
    M src/Products/ZCatalog/tests/test_brains.py
    M src/Products/ZCatalog/tests/test_catalog.py
    M src/Products/ZCatalog/tests/test_plan.py
    M src/Products/ZCatalog/tests/test_zcatalog.py

  Log Message:
  -----------
  Replace assertTrue(A in B) with assertIn(A, B)


  Commit: 7a2e3d49411b577f677cf577ec20c6f13d05231d
      https://github.com/zopefoundation/Products.ZCatalog/commit/7a2e3d49411b577f677cf577ec20c6f13d05231d
  Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
  Date:   2018-07-10 (Tue, 10 Jul 2018)

  Changed paths:
    M src/Products/ZCatalog/tests/test_brains.py

  Log Message:
  -----------
  Replace assertFalse(A in B) with assertNotIn(A, B)


  Commit: bad4ff42d8b075e497d9b91800783a0aed1dcc81
      https://github.com/zopefoundation/Products.ZCatalog/commit/bad4ff42d8b075e497d9b91800783a0aed1dcc81
  Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
  Date:   2018-07-10 (Tue, 10 Jul 2018)

  Changed paths:
    M src/Products/ZCatalog/tests/test_catalog.py

  Log Message:
  -----------
  Replace assertEqual(A not in B, True) with assertNotIn(A, B)


  Commit: 3b2504d92bc887f5700b345da68e4fc508198e38
      https://github.com/zopefoundation/Products.ZCatalog/commit/3b2504d92bc887f5700b345da68e4fc508198e38
  Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
  Date:   2018-07-11 (Wed, 11 Jul 2018)

  Changed paths:
    M src/Products/PluginIndexes/BooleanIndex/BooleanIndex.py
    M src/Products/PluginIndexes/CompositeIndex/CompositeIndex.py
    M src/Products/PluginIndexes/CompositeIndex/tests/testCompositeIndex.py
    M src/Products/PluginIndexes/DateIndex/DateIndex.py
    M src/Products/PluginIndexes/KeywordIndex/KeywordIndex.py
    M src/Products/PluginIndexes/PathIndex/PathIndex.py
    M src/Products/PluginIndexes/TopicIndex/FilteredSet.py
    M src/Products/PluginIndexes/TopicIndex/TopicIndex.py
    M src/Products/PluginIndexes/UUIDIndex/UUIDIndex.py
    M src/Products/PluginIndexes/unindex.py
    M src/Products/ZCatalog/Catalog.py
    M src/Products/ZCatalog/ZCatalog.py

  Log Message:
  -----------
  Append variable data as arguments for logging format string


  Commit: 1b71cc3c7003c8cd950d631e6eb6e27ebaab2039
      https://github.com/zopefoundation/Products.ZCatalog/commit/1b71cc3c7003c8cd950d631e6eb6e27ebaab2039
  Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
  Date:   2018-07-11 (Wed, 11 Jul 2018)

  Changed paths:
    M src/Products/PluginIndexes/CompositeIndex/CompositeIndex.py

  Log Message:
  -----------
  Fix for easier reading


  Commit: dcbf3308f344b548b3878755087c83a1009beb6d
      https://github.com/zopefoundation/Products.ZCatalog/commit/dcbf3308f344b548b3878755087c83a1009beb6d
  Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
  Date:   2018-07-11 (Wed, 11 Jul 2018)

  Changed paths:
    M src/Products/PluginIndexes/CompositeIndex/CompositeIndex.py

  Log Message:
  -----------
  Use urlencode for redirect url


  Commit: 356426c2226b8ada95ea6147d79581934420f06e
      https://github.com/zopefoundation/Products.ZCatalog/commit/356426c2226b8ada95ea6147d79581934420f06e
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-08-10 (Fri, 10 Aug 2018)

  Changed paths:
    M src/Products/PluginIndexes/CompositeIndex/tests/testCompositeIndex.py
    M src/Products/ZCTextIndex/tests/testIndex.py
    M src/Products/ZCTextIndex/tests/testLexicon.py
    M src/Products/ZCTextIndex/tests/testZCTextIndex.py
    M src/Products/ZCatalog/tests/test_catalog.py
    M src/Products/ZCatalog/tests/test_plan.py

  Log Message:
  -----------
  Fix remaining PR comments.


  Commit: f9543d511d79cf7b770ce58fcd8cc2748c6d99ba
      https://github.com/zopefoundation/Products.ZCatalog/commit/f9543d511d79cf7b770ce58fcd8cc2748c6d99ba
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-08-10 (Fri, 10 Aug 2018)

  Changed paths:
    M setup.cfg
    M src/Products/PluginIndexes/BooleanIndex/BooleanIndex.py
    M src/Products/PluginIndexes/DateIndex/DateIndex.py
    M src/Products/PluginIndexes/util.py
    M src/Products/ZCTextIndex/RiceCode.py
    M src/Products/ZCTextIndex/SetOps.py
    M src/Products/ZCTextIndex/ZCTextIndex.py
    M tox.ini

  Log Message:
  -----------
  Add flake8 check and flake8 the code.


  Commit: 14a77faad09e9f0a05e177e336bd9e535780a550
      https://github.com/zopefoundation/Products.ZCatalog/commit/14a77faad09e9f0a05e177e336bd9e535780a550
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-08-10 (Fri, 10 Aug 2018)

  Changed paths:
    M tox.ini

  Log Message:
  -----------
  Require minimum coverage.
[skip ci]


  Commit: 0ac22b133c12bef8bd76d14d79eafaf6514e59f1
      https://github.com/zopefoundation/Products.ZCatalog/commit/0ac22b133c12bef8bd76d14d79eafaf6514e59f1
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-08-10 (Fri, 10 Aug 2018)

  Changed paths:
    M setup.cfg
    M src/Products/PluginIndexes/BooleanIndex/BooleanIndex.py
    M src/Products/PluginIndexes/CompositeIndex/CompositeIndex.py
    M src/Products/PluginIndexes/CompositeIndex/tests/testCompositeIndex.py
    M src/Products/PluginIndexes/DateIndex/DateIndex.py
    M src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
    M src/Products/PluginIndexes/DateRangeIndex/tests.py
    M src/Products/PluginIndexes/FieldIndex/FieldIndex.py
    M src/Products/PluginIndexes/KeywordIndex/KeywordIndex.py
    M src/Products/PluginIndexes/PathIndex/PathIndex.py
    M src/Products/PluginIndexes/TopicIndex/FilteredSet.py
    M src/Products/PluginIndexes/TopicIndex/TopicIndex.py
    M src/Products/PluginIndexes/UUIDIndex/UUIDIndex.py
    M src/Products/PluginIndexes/cache.py
    M src/Products/PluginIndexes/tests/test_unindex.py
    M src/Products/PluginIndexes/unindex.py
    M src/Products/PluginIndexes/util.py
    M src/Products/ZCTextIndex/RiceCode.py
    M src/Products/ZCTextIndex/SetOps.py
    M src/Products/ZCTextIndex/ZCTextIndex.py
    M src/Products/ZCTextIndex/tests/testIndex.py
    M src/Products/ZCTextIndex/tests/testLexicon.py
    M src/Products/ZCTextIndex/tests/testZCTextIndex.py
    M src/Products/ZCatalog/Catalog.py
    M src/Products/ZCatalog/ZCatalog.py
    M src/Products/ZCatalog/tests/test_brains.py
    M src/Products/ZCatalog/tests/test_catalog.py
    M src/Products/ZCatalog/tests/test_plan.py
    M src/Products/ZCatalog/tests/test_zcatalog.py
    M tox.ini

  Log Message:
  -----------
  Merge pull request #38 from zopefoundation/andbag-fix-deprecation

Fix deprecation warnings and update code.


Compare: https://github.com/zopefoundation/Products.ZCatalog/compare/a090572b4105...0ac22b133c12
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list