Skip to content

Commit

Permalink
chore: fix code style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraichen committed May 10, 2022
1 parent b295785 commit f40a0ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt_tower/pillar/tower.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _yamlet_construct_optional(_loader, node):
if isinstance(node, ScalarNode):
return Optional(node.value)

raise ConstructorError( #pylint: disable=duplicate-code
raise ConstructorError( # pylint: disable=duplicate-code
None,
None,
f"expected a scalar node, but found {node.id}",
Expand Down

0 comments on commit f40a0ba

Please sign in to comment.