summaryrefslogtreecommitdiff
path: root/docs/tutorials
diff options
context:
space:
mode:
authorBert JW Regeer <bertjw@regeer.org>2015-10-06 19:52:05 -0600
committerBert JW Regeer <bertjw@regeer.org>2015-10-06 19:52:05 -0600
commit301d7e7b7f9477e3d6dc5185707ebdd5b27c0b06 (patch)
treee619d3d7d934c4ce81f8ff852116575a77a0153c /docs/tutorials
parentf598a2f329980c8eead84a73d25ceeac2937e1a6 (diff)
downloadpyramid-301d7e7b7f9477e3d6dc5185707ebdd5b27c0b06.tar.gz
pyramid-301d7e7b7f9477e3d6dc5185707ebdd5b27c0b06.tar.bz2
pyramid-301d7e7b7f9477e3d6dc5185707ebdd5b27c0b06.zip
Include the right line number from the .py file
This was including a blank line. This mistake was caught when attempting to build a PDF file using latexpdf due to LaTeX not allowing certain sections to be blank.
Diffstat (limited to 'docs/tutorials')
-rw-r--r--docs/tutorials/wiki2/basiclayout.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials/wiki2/basiclayout.rst b/docs/tutorials/wiki2/basiclayout.rst
index 08132e8cd..80ae4b34e 100644
--- a/docs/tutorials/wiki2/basiclayout.rst
+++ b/docs/tutorials/wiki2/basiclayout.rst
@@ -204,7 +204,7 @@ Let's examine this in detail. First, we need some imports to support later code:
Next we set up a SQLAlchemy ``DBSession`` object:
.. literalinclude:: src/basiclayout/tutorial/models.py
- :lines: 16
+ :lines: 17
:language: py
``scoped_session`` and ``sessionmaker`` are standard SQLAlchemy helpers.