def exportBlacklist(exportFile):
    oList = CPEList(collection, args)
    oList.exportList(exportFile)
def checkWhitelist(cpe):
    oList = CPEList(collection, args)
    amount = oList.check(cpe)
    return amount
def removeWhitelist(cpe):
    oList = CPEList(collection, args)
    return oList.remove(cpe)
def importWhitelist(importFile):
    oList = CPEList(collection, args)
    oList.importList(importFile)
def dropWhitelist():
    oList = CPEList(collection, args)
    oList.dropCollection()
Example #6
0
def insertWhitelist(cpe):
    oList = CPEList(collection, args)
    return oList.insert(cpe)
Example #7
0
def updateWhitelist(cpeOld, cpeNew):
    oList = CPEList(collection, args)
    return oList.update(cpeOld, cpeNew)
Example #8
0
def exportBlacklist(exportFile):
    oList = CPEList(collection, args)
    oList.exportList(exportFile)
Example #9
0
def dropBlacklist():
    oList = CPEList(collection, args)
    oList.dropCollection()
Example #10
0
def removeBlacklist(cpe):
    oList = CPEList(collection, args)
    return oList.remove(cpe)
Example #11
0
def importBlacklist(importFile):
    oList = CPEList(collection, args)
    oList.importList(importFile)
Example #12
0
def insertBlacklist(cpe):
    oList = CPEList(collection, args)
    return oList.insert(cpe)
Example #13
0
def countBlacklist():
    oList = CPEList(collection, args)
    return oList.countItems()
Example #14
0
def dropBlacklist():
    oList = CPEList(collection, args)
    oList.dropCollection()
Example #15
0
def countWhitelist():
    oList = CPEList(collection, args)
    return oList.countItems()
Example #16
0
def countBlacklist():
    oList = CPEList(collection, args)
    return oList.countItems()
Example #17
0
def checkWhitelist(cpe):
    oList = CPEList(collection, args)
    amount = oList.check(cpe)
    return amount
Example #18
0
def insertBlacklist(cpe):
    oList = CPEList(collection, args)
    return oList.insert(cpe)
Example #19
0
def removeWhitelist(cpe):
    oList = CPEList(collection, args)
    return oList.remove(cpe)
Example #20
0
def removeBlacklist(cpe):
    oList = CPEList(collection, args)
    return oList.remove(cpe)
Example #21
0
    oList.exportList(exportFile)

def dropWhitelist():
    oList = CPEList(collection, args)
    oList.dropCollection()

def countWhitelist():
    oList = CPEList(collection, args)
    return oList.countItems()

def checkWhitelist(cpe):
    oList = CPEList(collection, args)
    amount = oList.check(cpe)
    return amount

def insertWhitelist(cpe):
    oList = CPEList(collection, args)
    return oList.insert(cpe)

def removeWhitelist(cpe):
    oList = CPEList(collection, args)
    return oList.remove(cpe)

def updateWhitelist(cpeOld,cpeNew):
    oList = CPEList(collection,args)
    return oList.update(cpeOld,cpeNew)

if __name__=='__main__':
    oList = CPEList(collection, args)
    oList.process()
Example #22
0
def countWhitelist():
    oList = CPEList(collection, args)
    return oList.countItems()


def checkWhitelist(cpe):
    oList = CPEList(collection, args)
    amount = oList.check(cpe)
    return amount


def insertWhitelist(cpe):
    oList = CPEList(collection, args)
    return oList.insert(cpe)


def removeWhitelist(cpe):
    oList = CPEList(collection, args)
    return oList.remove(cpe)


def updateWhitelist(cpeOld, cpeNew):
    oList = CPEList(collection, args)
    return oList.update(cpeOld, cpeNew)


if __name__ == '__main__':
    oList = CPEList(collection, args)
    oList.process()
Example #23
0
def exportWhitelist(exportFile):
    oList = CPEList(collection, args)
    oList.exportList(exportFile)
Example #24
0
def importWhitelist(importFile):
    oList = CPEList(collection, args)
    oList.importList(importFile)
Example #25
0
def countWhitelist():
    oList = CPEList(collection, args)
    return oList.countItems()
Example #26
0
def exportWhitelist(exportFile):
    oList = CPEList(collection, args)
    oList.exportList(exportFile)
Example #27
0
def insertWhitelist(cpe):
    oList = CPEList(collection, args)
    return oList.insert(cpe)
Example #28
0
def dropWhitelist():
    oList = CPEList(collection, args)
    oList.dropCollection()
Example #29
0
def updateWhitelist(cpeOld,cpeNew):
    oList = CPEList(collection,args)
    return oList.update(cpeOld,cpeNew)
Example #30
0
def importBlacklist(importFile):
    oList = CPEList(collection, args)
    oList.importList(importFile)