Back to index

plone3  3.1.7
Functions | Variables
CMFPlone.setup.dependencies Namespace Reference

Functions

def log

Variables

tuple MINIMUM_PYTHON_VER = (2, 4, 3)
string PREFERRED_PYTHON_VER = "2.4.4 or newer"
tuple MINIMUM_ZOPE_VER = (2, 10, 4)
string PREFERRED_ZOPE_VER = "2.10.4 or newer"
tuple MINIMUM_CMF_VER = (2, 1, 0)
list messages = []
list PYTHON_VER = sys.version_info[:3]
string ZOPE_VER = "unknown"

Function Documentation

def CMFPlone.setup.dependencies.log (   message,
  summary = '',
  severity = logging.ERROR,
  optional = 0 
)

Definition at line 14 of file dependencies.py.

00014 
00015 def log(message, summary='', severity=logging.ERROR, optional=0):
00016     if optional:
00017         subsys = 'Plone Option'
00018     else:
00019         subsys = 'Plone Dependency'
00020     messages.append({'message' : message, 'summary' : summary,
00021                      'severity' : severity, 'optional' : optional
00022             })
00023     logger = logging.getLogger(subsys)
00024     logger.log(severity, '%s \n%s', summary, message)
00025 
# test python version

Variable Documentation

Definition at line 12 of file dependencies.py.

Definition at line 10 of file dependencies.py.

Definition at line 4 of file dependencies.py.

Definition at line 7 of file dependencies.py.

Definition at line 5 of file dependencies.py.

Definition at line 8 of file dependencies.py.

list CMFPlone.setup.dependencies.PYTHON_VER = sys.version_info[:3]

Definition at line 26 of file dependencies.py.

Definition at line 34 of file dependencies.py.