Skip to content

Commit

Permalink
chore: [autoapprove] update readme_gen.py to include autoescape True (g…
Browse files Browse the repository at this point in the history
…oogleapis#1240)

Source-Link: googleapis/synthtool@6b4d5a6
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f792ee1320e03eda2d13a5281a2989f7ed8a9e50b73ef6da97fac7e1e850b149

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and abdelmegahedgoogle committed Apr 17, 2023
1 parent c349e65 commit 315fbf6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
digest: sha256:bc5eed3804aec2f05fad42aacf973821d9500c174015341f721a984a0825b6fd
# created: 2022-04-21T15:43:16.246106921Z
digest: sha256:f792ee1320e03eda2d13a5281a2989f7ed8a9e50b73ef6da97fac7e1e850b149
# created: 2022-05-05T15:17:27.599381182Z
5 changes: 4 additions & 1 deletion scripts/readme-gen/readme_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
jinja_env = jinja2.Environment(
trim_blocks=True,
loader=jinja2.FileSystemLoader(
os.path.abspath(os.path.join(os.path.dirname(__file__), 'templates'))))
os.path.abspath(os.path.join(os.path.dirname(__file__), "templates"))
),
autoescape=True,
)

README_TMPL = jinja_env.get_template('README.tmpl.rst')

Expand Down

0 comments on commit 315fbf6

Please sign in to comment.