Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lbovet committed Sep 11, 2021
1 parent bb1fbdf commit 17c414d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/yglu/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ def construct_scalar(self, node):

if node.style == "|" and isinstance(node.value, str):
ret_val = PreservedScalarString(node.value)
elif bool(self._preserve_quotes) and isinstance(
node.value, str
):
elif bool(self._preserve_quotes) and isinstance(node.value, str):
if node.style == "'":
ret_val = SingleQuotedScalarString(node.value)
elif node.style == '"':
Expand Down

0 comments on commit 17c414d

Please sign in to comment.