Skip to content

Commit

Permalink
Call allow_module 'utils' outside the iniialize method is it is not n…
Browse files Browse the repository at this point in the history
…ecessary to declare imio.history as additional z2 products in tests relying on it
  • Loading branch information
gbastien committed Sep 30, 2019
1 parent 4fc0a91 commit 56d25c0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/imio/history/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# -*- extra stuff goes here -*-
# -*- coding: utf-8 -*-

from AccessControl import allow_module


allow_module('imio.history.utils')


def initialize(context):
"""Initializer called when used as a Zope 2 product."""

from AccessControl import allow_module
allow_module('imio.history.utils')

0 comments on commit 56d25c0

Please sign in to comment.