[ckan-changes] [okfn/ckan] f19278: Stop the package controller from crashing when use...

GitHub noreply at github.com
Wed Jul 11 14:06:09 UTC 2012


  Branch: refs/heads/feature-allow-package-controller-at-root-url
  Home:   https://github.com/okfn/ckan
  Commit: f19278e68e8d3148421e97a4a5f034f1b8f94a3b
      https://github.com/okfn/ckan/commit/f19278e68e8d3148421e97a4a5f034f1b8f94a3b
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-07-11 (Wed, 11 Jul 2012)

  Changed paths:
    M ckan/controllers/package.py

  Log Message:
  -----------
  Stop the package controller from crashing when used at the root URL

If the root URL '/' was connected to the package controller (e.g. by an
IRoutes plugin) _guess_package_type() would crash. Add a special case to
avoid the crash.





More information about the ckan-changes mailing list