def getNextUnprocessedEventId(self):
    eId = None
    for plugin in self:
        if (not plugin.isActive()):
            continue
        newId = plugin.getNextUnprocessedEventId()
        if ((newId is not None) and ((eId is None) or (newId < eId))):
            eId = newId
    return eId
def getNextUnprocessedEventId(self):
    eId = None
    for plugin in self:
        if (not plugin.isActive()):
            continue
        newId = plugin.getNextUnprocessedEventId()
        if ((newId is not None) and ((eId is None) or (newId < eId))):
            eId = newId
    return eId