"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/App/ApplicationManager.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.

ApplicationManager.py  (Zope-5.1.1):ApplicationManager.py  (Zope-5.1.2)
skipping to change at line 63 skipping to change at line 63
meta_type = 'Database Management' meta_type = 'Database Management'
manage_main = manage_workspace = PageTemplateFile('www/chooseDatabase.pt', manage_main = manage_workspace = PageTemplateFile('www/chooseDatabase.pt',
globals()) globals())
manage_main.__name__ = 'manage_main' manage_main.__name__ = 'manage_main'
manage_main._need__name__ = 0 manage_main._need__name__ = 0
manage_options = ( manage_options = (
{'label': 'Control Panel', 'action': '../manage_main'}, {'label': 'Control Panel', 'action': '../manage_main'},
{'label': 'Databases', 'action': 'manage_main'}, {'label': 'Databases', 'action': 'manage_main'},
{'label': 'Configuration', 'action': '../Configuration/manage_main'}, {'label': 'Configuration', 'action': '../Configuration/manage_main'},
{'label': 'DAV Locks', 'action': '../DAVLocks/manage_main'}, {'label': 'DAV Locks', 'action': '../DavLocks/manage_main'},
{'label': 'Debug Information', 'action': '../DebugInfo/manage_main'}, {'label': 'Debug Information', 'action': '../DebugInfo/manage_main'},
) )
MANAGE_TABS_NO_BANNER = True MANAGE_TABS_NO_BANNER = True
def getDatabaseNames(self, quote=False): def getDatabaseNames(self, quote=False):
configuration = getConfiguration() configuration = getConfiguration()
names = configuration.dbtab.listDatabaseNames() names = configuration.dbtab.listDatabaseNames()
names.sort() names.sort()
if quote: if quote:
return [(name, parse.quote(name)) for name in names] return [(name, parse.quote(name)) for name in names]
skipping to change at line 154 skipping to change at line 154
manage_main._setName('manage_main') manage_main._setName('manage_main')
id = 'DebugInfo' id = 'DebugInfo'
name = title = 'Debug Information' name = title = 'Debug Information'
meta_type = name meta_type = name
zmi_icon = 'fas fa-bug' zmi_icon = 'fas fa-bug'
manage_options = ( manage_options = (
{'label': 'Control Panel', 'action': '../manage_main'}, {'label': 'Control Panel', 'action': '../manage_main'},
{'label': 'Databases', 'action': '../Database/manage_main'}, {'label': 'Databases', 'action': '../Database/manage_main'},
{'label': 'Configuration', 'action': '../Configuration/manage_main'}, {'label': 'Configuration', 'action': '../Configuration/manage_main'},
{'label': 'DAV Locks', 'action': '../DAVLocks/manage_main'}, {'label': 'DAV Locks', 'action': '../DavLocks/manage_main'},
{'label': 'Debug Information', 'action': 'manage_main'}, {'label': 'Debug Information', 'action': 'manage_main'},
) )
def refcount(self, n=None, t=(type(Implicit), type(object))): def refcount(self, n=None, t=(type(Implicit), type(object))):
# return class reference info # return class reference info
counts = {} counts = {}
for m in list(sys.modules.values()): for m in list(sys.modules.values()):
if m is None: if m is None:
continue continue
if not isinstance(m, types.ModuleType) or 'six.' in m.__name__: if not isinstance(m, types.ModuleType) or 'six.' in m.__name__:
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

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