(self, key, value)
Parse a status code from the attached GnuPG process.

        :raises ValueError: if the status message is unknown.
Parse a status code from the attached GnuPG process.
Parse a status code from the attached GnuPG process .
def _handle_status(self, key, value):
        """Parse a status code from the attached GnuPG process.

        :raises ValueError: if the status message is unknown.
        """
        informational_keys = ["KEY_CONSIDERED"]
        if key in ("EXPORTED"):
            self.fingerprints.append(value)
        elif key == "EXPORT_RES":
            export_res = value.split()
            for x in self.counts.keys():
                self.counts[x] += int(export_res.pop(0))
        elif key not in informational_keys:
            raise ValueError("Unknown status message: %r" % key)
def _handle_status ( self , key , value ) : informational_keys = [ "KEY_CONSIDERED" ] if key in ( "EXPORTED" ) : self . fingerprints . append ( value ) elif key == "EXPORT_RES" : export_res = value . split ( ) for x in self . counts . keys ( ) : self . counts [ x ] += int ( export_res . pop ( 0 ) ) elif key not in informational_keys : raise ValueError ( "Unknown status message: %r" % key )