mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-06-01 08:00:04 +02:00
add missing f-string declaration
This commit is contained in:
parent
97981adcfe
commit
3bb2909989
|
@ -56,7 +56,7 @@ class StandardBase(object, metaclass=StandardExtendedMeta):
|
|||
pass
|
||||
|
||||
def __repr__(self): # noqa
|
||||
return "Standard: {self.description} (version: {self.version}, types: {self.types})"
|
||||
return f"Standard: {self.description} (version: {self.version}, types: {self.types})"
|
||||
|
||||
@staticmethod
|
||||
def get_tasks(candidate, settings):
|
||||
|
|
|
@ -317,7 +317,7 @@ def _roles_children(basedir, k, v, parent_type, main="main"):
|
|||
)
|
||||
)
|
||||
else:
|
||||
raise SystemExit("role dict {role} does not contain a 'role' or 'name' key")
|
||||
raise SystemExit(f"role dict {role} does not contain a 'role' or 'name' key")
|
||||
else:
|
||||
results.extend(_look_for_role_files(basedir, role, main=main))
|
||||
return results
|
||||
|
|
Loading…
Reference in New Issue
Block a user