Fix comment style
This commit is contained in:
@@ -165,9 +165,7 @@ class Link(object):
|
||||
# TODO: improve name to 'injected...'
|
||||
# TODO: remove, only used by staging files
|
||||
try:
|
||||
"""
|
||||
Check for and inject a temporary navigation dictionary
|
||||
"""
|
||||
# Check for and inject a temporary navigation dictionary
|
||||
temp_navigation_links = Variable('temporary_navigation_links').resolve(context)
|
||||
if temp_navigation_links:
|
||||
links_dict.update(temp_navigation_links)
|
||||
|
||||
@@ -149,9 +149,7 @@ def _get_object_navigation_links(context, menu_name=None, links_dict=object_navi
|
||||
parsed_query_string = urlparse.parse_qs(query_string)
|
||||
|
||||
try:
|
||||
"""
|
||||
Check for and inject a temporary navigation dictionary
|
||||
"""
|
||||
# Check for and inject a temporary navigation dictionary
|
||||
temp_navigation_links = Variable('temporary_navigation_links').resolve(context)
|
||||
except VariableDoesNotExist:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user