Make pylint happy. (#789)

This commit is contained in:
Felix Fontein
2024-08-07 14:48:58 +02:00
committed by GitHub
parent 114a29f4ea
commit e42f8e0d0c
2 changed files with 3 additions and 0 deletions

View File

@@ -398,6 +398,8 @@ def main():
module.fail_json(msg=missing_required_lib('cryptography >= {0}'.format(MINIMAL_CRYPTOGRAPHY_VERSION)),
exception=CRYPTOGRAPHY_IMP_ERR)
dhparam = DHParameterCryptography(module)
else:
raise AssertionError('Internal error: unknown backend')
if module.check_mode:
result = dhparam.dump()