Back to index

plone3  3.1.7
getZopeInfo.py
Go to the documentation of this file.
00001 ## Script (Python) "getZopeInfo"
00002 ##bind container=container
00003 ##bind context=context
00004 ##bind namespace=
00005 ##bind script=script
00006 ##bind subpath=traverse_subpath
00007 ##parameters=
00008 ##title=
00009 ##
00010 context.plone_log("The getZopeInfo script is deprecated and will be removed "
00011                   "in Plone 4.0. Use the coreVersions method of the migration "
00012                   "tool instead.")
00013 
00014 cp = context.Control_Panel
00015 return (cp.version_txt(), cp.sys_version())