[Checkins] [zopefoundation/Zope] e6f9ff: Cleanup ZApplicationWrapper.

GitHub noreply at github.com
Thu Sep 8 12:42:10 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/Zope
  Commit: e6f9ff36cb489382243338dc10a21a6096657fb0
      https://github.com/zopefoundation/Zope/commit/e6f9ff36cb489382243338dc10a21a6096657fb0
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
    M src/App/ZApplication.py
    M src/OFS/tests/testAppInitializer.py
    M src/Zope2/App/startup.py

  Log Message:
  -----------
  Cleanup ZApplicationWrapper.

Remove unused klass_args argument and avoid aborting transactions if
none is active. The publisher should always commit or abort the
transaction, so the Cleanup instance in `REQUEST._hold` shouldn't need
to abort anything. This gets rids of debug log messages, where each
request opens and aborts a secondary transaction.




More information about the checkins mailing list