Skip to content

Commit

Permalink
Fix syntax error in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed May 9, 2022
1 parent 6e5ddfc commit 396a0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/extensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ extension which defines the ``define_awesome_files`` action:
# `modify` can be used to change contents in an existing file
# and/or change the assigned file operation
def append_pdb(prev_content, prev_op):
return ((prev_content + "\nimport pdb", skip_on_update(prev_op)),)
return (prev_content + "\nimport pdb", skip_on_update(prev_op))
struct = structure.modify(struct, "tests/other_test.py", append_pdb)
Expand Down

0 comments on commit 396a0c0

Please sign in to comment.