[ckan-changes] [ckan/ckan] c7cfef: Replace usage of map unsupported on Python 3

Adrià Mercader noreply at github.com
Fri Nov 8 15:54:17 UTC 2019


  Branch: refs/heads/replace-usage-of-map
  Home:   https://github.com/ckan/ckan
  Commit: c7cfef5a9281b48cc898a21f56695ae91ac88f88
      https://github.com/ckan/ckan/commit/c7cfef5a9281b48cc898a21f56695ae91ac88f88
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M ckanext/example_idatastorebackend/example_sqlite.py
    M setup.py

  Log Message:
  -----------
  Replace usage of map unsupported on Python 3

In Python 3, map returns a map object not a list. Replaced the
occurrences I could find with list comprehensions.




More information about the ckan-changes mailing list