Formatting...
authorThierry Florac <tflorac@ulthar.net>
Tue, 17 Jul 2018 23:43:40 +0200
changeset 93 d3ef1b0cc076
parent 92 b3b7ec7530f5
child 94 6fca8ce6a700
Formatting...
src/pyams_default_theme/features/header/skin/__init__.py
--- a/src/pyams_default_theme/features/header/skin/__init__.py	Thu Jul 12 17:37:06 2018 +0200
+++ b/src/pyams_default_theme/features/header/skin/__init__.py	Tue Jul 17 23:43:40 2018 +0200
@@ -40,8 +40,10 @@
 # Simple header renderer
 #
 
-@adapter_config(name=SIMPLE_HEADER_RENDERER_NAME, context=(IHeaderTarget, IPyAMSLayer), provides=IHeaderRenderer)
-@adapter_config(name=SIMPLE_HEADER_RENDERER_NAME, context=(IHeaderSettings, IPyAMSLayer), provides=IHeaderRenderer)
+@adapter_config(name=SIMPLE_HEADER_RENDERER_NAME, context=(IHeaderTarget, IPyAMSLayer),
+                provides=IHeaderRenderer)
+@adapter_config(name=SIMPLE_HEADER_RENDERER_NAME, context=(IHeaderSettings, IPyAMSLayer),
+                provides=IHeaderRenderer)
 @template_config(template='templates/simple-header.pt', layer=IPyAMSLayer)
 class SimpleHeaderRenderer(BaseHeaderRenderer):
     """Simple header renderer"""