[ckan-changes] [ckan/ckan] cb9b03: [#4801] Use ints in paginator

Adrià Mercader noreply at github.com
Fri Dec 20 15:11:13 UTC 2019


  Branch: refs/heads/py3-general-support-3
  Home:   https://github.com/ckan/ckan
  Commit: cb9b03ee921b8a1f9dcb46241ca925b739d6d4cb
      https://github.com/ckan/ckan/commit/cb9b03ee921b8a1f9dcb46241ca925b739d6d4cb
  Author: amercader <amercadero at gmail.com>
  Date:   2019-12-20 (Fri, 20 Dec 2019)

  Changed paths:
    M ckan/lib/pagination.py

  Log Message:
  -----------
  [#4801] Use ints in paginator

Otherwise we get the following in py3:

TypeError: 'float' object cannot be interpreted as an integer


  Commit: fe2c5e154915bfe500d03564fc878853881123f1
      https://github.com/ckan/ckan/commit/fe2c5e154915bfe500d03564fc878853881123f1
  Author: amercader <amercadero at gmail.com>
  Date:   2019-12-20 (Fri, 20 Dec 2019)

  Changed paths:
    M ckan/cli/sysadmin.py
    M ckan/lib/i18n.py

  Log Message:
  -----------
  Pep 8


  Commit: 3a8f00e4f59f95186f956579952d7b8633cce594
      https://github.com/ckan/ckan/commit/3a8f00e4f59f95186f956579952d7b8633cce594
  Author: amercader <amercadero at gmail.com>
  Date:   2019-12-20 (Fri, 20 Dec 2019)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  [#4801] Do not fall back to Pylons on url_for on py3


  Commit: a35902f1af876ad2e825a990f13d2e857b2eaec7
      https://github.com/ckan/ckan/commit/a35902f1af876ad2e825a990f13d2e857b2eaec7
  Author: amercader <amercadero at gmail.com>
  Date:   2019-12-20 (Fri, 20 Dec 2019)

  Changed paths:
    M ckan/templates/snippets/follow_button.html

  Log Message:
  -----------
  [#4801] Don't use controller based routes on url_for


Compare: https://github.com/ckan/ckan/compare/a44af3ef9aa2...a35902f1af87


More information about the ckan-changes mailing list