Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Daniel Albers 2025-04-01 00:08:04 +02:00 committed by GitHub
parent 1a2a1a9295
commit 7f8b2d2276
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -129,10 +129,10 @@ from ansible.module_utils.urls import fetch_url
from ansible.module_utils.common.text.converters import to_native from ansible.module_utils.common.text.converters import to_native
class GpgListResult: class GpgListResult(object):
"""Wraps gpg --list-* output.""" """Wraps gpg --list-* output."""
def __init__(self, line) -> None: def __init__(self, line):
self._parts = line.split(':') self._parts = line.split(':')
@property @property