[ckan-changes] [ckan/ckan] 99cc09: [#1725] Fix exception caught when there's no CKAN_...

GitHub noreply at github.com
Sat May 24 14:23:41 UTC 2014


  Branch: refs/heads/1725-extend-datastore
  Home:   https://github.com/ckan/ckan
  Commit: 99cc09240ada28d4c2e73b15f2a242a40534f928
      https://github.com/ckan/ckan/commit/99cc09240ada28d4c2e73b15f2a242a40534f928
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-05-24 (Sat, 24 May 2014)

  Changed paths:
    M ckanext/datastore/db.py

  Log Message:
  -----------
  [#1725] Fix exception caught when there's no CKAN_CURRENT_URL

When we try to get a key from a dict and it doesn't exist, a KeyError is
raised, not a TypeError.




More information about the ckan-changes mailing list