Ejemplo n.º 1
0
def _lastmodified(configured):
    if configured:
        slicers = slicingManager.configured_slicers
    else:
        slicers = slicingManager.registered_slicers

    lms = [0]
    for slicer in slicers:
        lms.append(slicingManager.profiles_last_modified(slicer))

    return max(lms)
Ejemplo n.º 2
0
def _lastmodified(configured):
	if configured:
		slicers = slicingManager.configured_slicers
	else:
		slicers = slicingManager.registered_slicers

	lms = [0]
	for slicer in slicers:
		lms.append(slicingManager.profiles_last_modified(slicer))

	return max(lms)