Skip to content

Commit

Permalink
Correct syntax bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
abadger committed Sep 12, 2024
1 parent 9a7cfa0 commit d61eb01
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion leapp/actors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def get_actor_metadata(actor):
_get_attribute(actor, 'description', _is_type(string_types), required=False,
default_value=actor.__doc__ or 'There has been no description provided for this actor.'),
_get_attribute(actor, 'config_schemas', _is_type(string_types), required=False,
default_value=actor.__doc__ or 'Description of the configuration used by this actor.')
default_value=actor.__doc__ or 'Description of the configuration used by this actor.'),
_get_attribute(actor, 'apis', _is_api_tuple, required=False, default_value=())
])

Expand Down
4 changes: 0 additions & 4 deletions leapp/actors/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,3 @@ def format_config():
- snactor
"""
return SafeDumper(yaml.dump(parse_config_files(), dumper=SafeDumper))
if schemas != actor_config:
raise Exception("Invalid entries in the actor config files")

global_ _ACTOR_CONFIG_VALIDATED = True

0 comments on commit d61eb01

Please sign in to comment.