def state_HEADER(self, line):
        key, val = self._parseLine(line)
        self.mode = WAIT_FOR_DN

        if key != 'version':
            self.logicalLineReceived(line)
        else:
            try:
                version = int(val)
            except __HOLE__:
                raise LDIFVersionNotANumberError, val
            self.version = version
            if version > 1:
                raise LDIFUnsupportedVersionError, version
dataset/ETHPy150Open antong/ldaptor/ldaptor/protocols/ldap/ldifprotocol.py/LDIF.state_HEADER