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)