"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/App/Management.py" between
Zope-5.1.1.tar.gz and Zope-5.1.2.tar.gz

About: Zope Z Object Publishing Environment - web application platform used for building content management systems, intranets, portals, and custom applications.

Management.py  (Zope-5.1.1):Management.py  (Zope-5.1.2)
skipping to change at line 93 skipping to change at line 93
return REQUEST.RESPONSE.redirect(f"{REQUEST['URL1']}/{m}") return REQUEST.RESPONSE.redirect(f"{REQUEST['URL1']}/{m}")
return getattr(self, m)(self, REQUEST) return getattr(self, m)(self, REQUEST)
def tabs_path_length(self, REQUEST): def tabs_path_length(self, REQUEST):
return len(list(self.tabs_path_default(REQUEST))) return len(list(self.tabs_path_default(REQUEST)))
def tabs_path_default(self, REQUEST): def tabs_path_default(self, REQUEST):
steps = REQUEST._steps[:-1] steps = REQUEST._steps[:-1]
script = REQUEST['BASEPATH1'] script = REQUEST['BASEPATH1']
linkpat = '{}/manage_workspace' linkpat = '{0}/manage_workspace'
yield {'url': linkpat.format(html.escape(script, True)), yield {'url': linkpat.format(html.escape(script, True)),
'title': 'Root', 'title': 'Root',
'last': not bool(steps)} 'last': not bool(steps)}
if not steps: if not steps:
return return
last = steps.pop() last = steps.pop()
for step in steps: for step in steps:
script = f'{script}/{step}' script = f'{script}/{step}'
yield {'url': linkpat.format(html.escape(script, True)), yield {'url': linkpat.format(html.escape(script, True)),
'title': html.escape(unquote(step)), 'title': html.escape(unquote(step)),
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)