Commit 1fb80f3e authored by Ivan Tyagov's avatar Ivan Tyagov

Use getWebSiteValue API.

parent 1fec952e
......@@ -90,6 +90,10 @@ if current_web_site is None and parent_web_section_url is not None:\n
# XXX-JPS This shows inconsistent API between async and non async mode\n
# Some unification is needed\n
current_web_site = portal.restrictedTraverse(parent_web_section_url).getWebSiteValue()\n
\n
if current_web_site is None:\n
current_web_site = context.getWebSiteValue()\n
\n
if current_web_site is None:\n
current_web_site = portal\n
\n
......
736
\ No newline at end of file
737
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment