--- a/src/pyams_content/component/keynumber/__init__.py Thu Dec 20 14:22:24 2018 +0100
+++ b/src/pyams_content/component/keynumber/__init__.py Fri Dec 21 09:51:20 2018 +0100
@@ -15,33 +15,32 @@
# import standard library
-# import interfaces
-from pyams_content.component.keynumber.interfaces import IKeyNumber, IKeyNumberContainerTarget, IKeyNumberContainer, \
- KEYNUMBER_CONTAINER_KEY
-from pyams_content.features.checker.interfaces import IContentChecker, MISSING_VALUE, MISSING_LANG_VALUE
-from pyams_form.interfaces.form import IFormContextPermissionChecker
-from pyams_i18n.interfaces import II18n, II18nManager, INegotiator
-from zope.lifecycleevent.interfaces import IObjectAddedEvent, IObjectModifiedEvent, IObjectRemovedEvent
-from zope.location.interfaces import ISublocations
-from zope.traversing.interfaces import ITraversable
-
-# import packages
-from pyams_catalog.utils import index_object
-from pyams_content.features.checker import BaseContentChecker
-from pyams_utils.adapter import adapter_config, ContextAdapter, get_annotation_adapter
-from pyams_utils.registry import get_current_registry, get_utility
-from pyams_utils.request import check_request
-from pyams_utils.traversing import get_parent
from persistent import Persistent
from pyramid.events import subscriber
from zope.container.contained import Contained
from zope.container.ordered import OrderedContainer
from zope.interface import implementer
from zope.lifecycleevent import ObjectModifiedEvent
+from zope.lifecycleevent.interfaces import IObjectAddedEvent, IObjectModifiedEvent, IObjectRemovedEvent
+from zope.location.interfaces import ISublocations
from zope.location.location import locate
from zope.schema.fieldproperty import FieldProperty
+from zope.traversing.interfaces import ITraversable
+# import packages
+from pyams_catalog.utils import index_object
from pyams_content import _
+# import interfaces
+from pyams_content.component.keynumber.interfaces import IKeyNumber, IKeyNumberContainer, IKeyNumberContainerTarget, \
+ KEYNUMBER_CONTAINER_KEY
+from pyams_content.features.checker import BaseContentChecker
+from pyams_content.features.checker.interfaces import IContentChecker, MISSING_LANG_VALUE, MISSING_VALUE
+from pyams_form.interfaces.form import IFormContextPermissionChecker
+from pyams_i18n.interfaces import II18n, II18nManager, INegotiator
+from pyams_utils.adapter import ContextAdapter, adapter_config, get_annotation_adapter
+from pyams_utils.registry import get_current_registry, get_utility
+from pyams_utils.request import check_request
+from pyams_utils.traversing import get_parent
#
@@ -170,7 +169,7 @@
class KeyNumberContainerNamespace(ContextAdapter):
"""Key numbers container ++keynumbers++ namespace"""
- def traverse(self, name, furtherpaath=None):
+ def traverse(self, name, furtherpath=None):
return IKeyNumberContainer(self.context)