(self)
return all_imports_succeeded
Import all GnuPG keys.
        :rtype: bool
        :returns: ``True`` if all keys were successfully imported; ``False``
            otherwise.
Import all GnuPG keys.
        :rtype: bool
        :returns: ``True`` if all keys were successfully imported; ``False``
            otherwise.
Import all GnuPG keys . : rtype : bool : returns : True if all keys were successfully imported ; False otherwise .
def import_keys(self):
        """Import all GnuPG keys.
        :rtype: bool
        :returns: ``True`` if all keys were successfully imported; ``False``
            otherwise.
        """
        keys = [
            "tor_browser_developers",
        ]
        all_imports_succeeded = True

        for key in keys:
            imported = self.import_key_and_check_status(key)
            if not imported:
                print(
                    _(
                        "Could not import key with fingerprint: %s."
                        % self.fingerprints[key]
                    )
                )
                all_imports_succeeded = False

        if not all_imports_succeeded:
            print(_("Not all keys were imported successfully!"))

        return all_imports_succeeded
def import_keys ( self ) : keys = [ "tor_browser_developers" , ] all_imports_succeeded = True for key in keys : imported = self . import_key_and_check_status ( key ) if not imported : print ( _ ( "Could not import key with fingerprint: %s." % self . fingerprints [ key ] ) ) all_imports_succeeded = False if not all_imports_succeeded : print ( _ ( "Not all keys were imported successfully!" ) ) return all_imports_succeeded