aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2013-08-13 13:13:14 -0400
committerWaylan Limberg <waylan@gmail.com>2013-08-13 13:13:14 -0400
commitd1541a58118c0968a0572e36d1956b866c95b534 (patch)
tree43250669ff18fbf7e6bac91d39090a235b68377e
parent72012c35273cef24b57af833cb38ac4cca6db98e (diff)
downloadmarkdown-d1541a58118c0968a0572e36d1956b866c95b534.tar.gz
markdown-d1541a58118c0968a0572e36d1956b866c95b534.tar.bz2
markdown-d1541a58118c0968a0572e36d1956b866c95b534.zip
Deprecated CodeHilite's force_linenos config setting.
It was previously marked pendingdeprecation in v2.3. Now deprecated.
-rw-r--r--markdown/extensions/codehilite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/extensions/codehilite.py b/markdown/extensions/codehilite.py
index 72b40fd..7a3676b 100644
--- a/markdown/extensions/codehilite.py
+++ b/markdown/extensions/codehilite.py
@@ -219,7 +219,7 @@ class CodeHiliteExtension(Extension):
if key == 'force_linenos':
warnings.warn('The "force_linenos" config setting'
' to the CodeHilite extension is deprecrecated.'
- ' Use "linenums" instead.', PendingDeprecationWarning)
+ ' Use "linenums" instead.', DeprecationWarning)
if value:
# Carry 'force_linenos' over to new 'linenos'.
self.setConfig('linenums', True)