Skip to content

Commit

Permalink
Merge pull request #400 from bluetech/doc-fix
Browse files Browse the repository at this point in the history
docs: make old-style example consistent with new-style
  • Loading branch information
bluetech committed Jun 17, 2023
2 parents d3f613f + a33c926 commit 1d94a71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -438,12 +438,12 @@ execution of all corresponding non-wrappper *hookimpls*.
"""Wrap calls to ``setup_project()`` implementations which
should return json encoded config options.
"""
if config.debug:
print("Pre-hook config is {}".format(config.tojson()))
# get initial default config
defaults = config.tojson()
if config.debug:
print("Pre-hook config is {}".format(config.tojson()))
# all corresponding hookimpls are invoked here
outcome = yield
Expand Down

0 comments on commit 1d94a71

Please sign in to comment.