some formatting
Dieser Commit ist enthalten in:
Ursprung
c80722c46f
Commit
3e3ccc8458
|
@ -37,9 +37,7 @@ class _Type(type):
|
|||
else:
|
||||
individual[key] = value
|
||||
if len(virtual) != 0 and virtfunc is None: # pragma: nocover
|
||||
raise TypeError(
|
||||
"Virtual funcs defined, but no func to generate them defined"
|
||||
)
|
||||
raise TypeError("Virtual funcs defined, but no func to generate them defined")
|
||||
special["_attr"] = tuple(virtual + tuple(individual.keys()))
|
||||
special["_vfunc"] = virtfunc
|
||||
special["_virtual"] = virtual
|
||||
|
|
|
@ -2,8 +2,7 @@ import os
|
|||
import unittest
|
||||
|
||||
try: # pragma: nocover
|
||||
from ansible_collections.sebastian.systemd.plugins.module_utils.generic import \
|
||||
Types
|
||||
from ansible_collections.sebastian.systemd.plugins.module_utils.generic import Types
|
||||
except ImportError: # pragma: nocover
|
||||
import sys
|
||||
|
||||
|
|
Laden…
In neuem Issue referenzieren