def filter(self, record):
        if self.nlen == 0:
            return 1
        elif self.name == record.name:
            return 1
        elif string.find(record.name, self.name, 0, self.nlen) != 0:
            return 0
        return (record.name[self.nlen] == ".")
L{hashlib.sha1} returns an object which can be used to compute a SHA1
dataset/ETHPy150Open babble/babble/include/jython/Lib/logging/__init__.py/Filter.filter--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/python/test/test_hashlib.py/HashObjectTests.test_sha1