[ckan-changes] [ckan/ckan] e7540e: [#1714] do not remove session when get_site_user i...

GitHub noreply at github.com
Fri Aug 8 10:43:31 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: e7540e25805587029e25efbd2a09b94cd20189a5
      https://github.com/ckan/ckan/commit/e7540e25805587029e25efbd2a09b94cd20189a5
  Author: joetsoi <joe.yeung.tsoi at gmail.com>
  Date:   2014-07-24 (Thu, 24 Jul 2014)

  Changed paths:
    M ckan/lib/cli.py
    M ckan/logic/action/get.py
    M ckan/model/__init__.py

  Log Message:
  -----------
  [#1714] do not remove session when get_site_user is called

Only commit if the site user is created. Change clean_db so that it
commits and removes the session so that any open transactions that might
cause clean_db to hang are closed before dropping the tables.


  Commit: 1f46559611bc2d0ed81f9ead97600c6a3c9d352e
      https://github.com/ckan/ckan/commit/1f46559611bc2d0ed81f9ead97600c6a3c9d352e
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-08-08 (Fri, 08 Aug 2014)

  Changed paths:
    M ckan/lib/cli.py
    M ckan/logic/action/get.py
    M ckan/model/__init__.py

  Log Message:
  -----------
  Merge pull request #1714 from ckan/1714-fix-get-site-user

`get_site_user` performs a commit on each call


Compare: https://github.com/ckan/ckan/compare/d9e624087d72...1f46559611bc


More information about the ckan-changes mailing list