Skip to content

Commit

Permalink
Admin: Ensure compatibility with mypy 1.14 (#8424)
Browse files Browse the repository at this point in the history
  • Loading branch information
bblommers authored Dec 21, 2024
1 parent 6bd4308 commit d901ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moto/config/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2037,7 +2037,7 @@ def put_config_rule(
if rule_arn and config_rule_obj.config_rule_arn == rule_arn:
rule_name = config_rule_obj.config_rule_name
break
else:
if not rule_name:
raise InvalidParameterValueException(
"One or more identifiers needs to be provided. Provide "
"Name or Id or Arn"
Expand Down

0 comments on commit d901ae5

Please sign in to comment.