lib/gettor/blacklist.py
def lookupListEntry(self, address, blacklistName="*"):
        """Check to see if we have a list entry for the given address.
        """
        if address is None:
           logging.error("Argument 'address' is None")
           return False
        hashString = self.getHash(address)
        globPath = os.path.join(self.blacklistDir, blacklistName)
        hashVec = glob.glob(os.path.join(globPath, hashString))
        if len(hashVec) > 0:
            return True
        return False
Check to see if we have a list entry for the given address.
        
Check to see if we have a list entry for the given address.
Check to see if we have a list entry for the given address .
def lookupListEntry(self, address, blacklistName="*"):
        if address is None:
           logging.error("Argument 'address' is None")
           return False
        hashString = self.getHash(address)
        globPath = os.path.join(self.blacklistDir, blacklistName)
        hashVec = glob.glob(os.path.join(globPath, hashString))
        if len(hashVec) > 0:
            return True
        return False
def lookupListEntry ( self , address , blacklistName = "*" ) : if address is None : logging . error ( "Argument 'address' is None" ) return False hashString = self . getHash ( address ) globPath = os . path . join ( self . blacklistDir , blacklistName ) hashVec = glob . glob ( os . path . join ( globPath , hashString ) ) if len ( hashVec ) > 0 : return True return False
Check to see if we have a list entry for the given address.
Check to see if we have a list entry for the given address .
"""Check to see if we have a list entry for the given address.
        """
self
address
blacklistName