(self, gpg)
Start parsing the results of a key export operation.

        :type gpg: :class:`gnupg.GPG`
        :param gpg: An instance of :class:`gnupg.GPG`.
Start parsing the results of a key export operation.
Start parsing the results of a key export operation .
def __init__(self, gpg):
        """Start parsing the results of a key export operation.

        :type gpg: :class:`gnupg.GPG`
        :param gpg: An instance of :class:`gnupg.GPG`.
        """
        self._gpg = gpg

        #: All the possible status messages pertaining to actions taken while
        #: exporting a key.
        self._fields = 'count secret_count exported'.split()

        #: Counts of all the status message results, :data:`_fields` which
        #: have appeared.
        self.counts = OrderedDict(
            zip(self._fields, [int(0) for x in range(len(self._fields))]))

        #: A list of strings containing the fingerprints of the GnuPG keyIDs
        #: exported.
        self.fingerprints = list()
def __init__ ( self , gpg ) : self . _gpg = gpg #: All the possible status messages pertaining to actions taken while #: exporting a key. self . _fields = 'count secret_count exported' . split ( ) #: Counts of all the status message results, :data:`_fields` which #: have appeared. self . counts = OrderedDict ( zip ( self . _fields , [ int ( 0 ) for x in range ( len ( self . _fields ) ) ] ) ) #: A list of strings containing the fingerprints of the GnuPG keyIDs #: exported. self . fingerprints = list ( )