Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/s/h/shiva-HEAD/analyzer/core/shivaprocessold.py   shiva(Download)
                    #individualcounter = server.shivaconf.getint('analyzer', 'individualcounter')
 
                elif next((i for i, sublist in enumerate([myval for myval in server.whitelist_ids.values()]) if mailFields['to'] in sublist), -1) > -1:
                    logging.info("[+]shivaprocessold Module: Recipient found in white list - relaying")
 

src/s/h/shiva-HEAD/analyzer/core/shivaaddnewrecord.py   shiva(Download)
            logging.info("[+]shivaaddnewrecord Module: Limit reached. No relay.")
 
        elif next((i for i, sublist in enumerate([myval for myval in server.whitelist_ids.values()]) if mailFields['to'] in sublist), -1) > -1:
            logging.info("[+]shivaaddnewrecord Module: Recipient found in white list - relaying")