[gnutls-devel] GnuTLS | remove autogen dependency (!1506)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri Jan 14 08:52:55 CET 2022




Daiki Ueno commented on a discussion on python/jsonopts.py: https://gitlab.com/gnutls/gnutls/-/merge_requests/1506#note_810491472

> +                out.write(f'''\
> +\t\t\t\t- requires these options:
> +{require_opts_concatenated}
> +''')
> +            file_exists = option.get('file-exists', 'no')
> +            if file_exists == 'yes':
> +                out.write('\t\t\t\t- file must pre-exist\n')
> +            disable_prefix = option.get('disable-prefix')
> +            if disable_prefix:
> +                out.write(
> +                    f"\t\t\t\t- disabled as '--{disable_prefix}{long_opt}'\n"
> +                )
> +            if 'enabled' in option:
> +                out.write('\t\t\t\t- enabled by default\n')
> +            max_count = option.get('max')
> +            if max_count and (max_count == 'NOLIMIT' or int(max_count) > 1):

OK, I've added an assert.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1506#note_810491472
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20220114/4631b98d/attachment-0001.html>


More information about the Gnutls-devel mailing list