summaryrefslogtreecommitdiff
path: root/sphinx/highlighting.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-22 11:16:48 +0200
committerGeorg Brandl <georg@python.org>2010-10-22 11:16:48 +0200
commitdb8189083d6022a34b331d4c482776ba301eae1b (patch)
tree4772befc0e005a3cd7f7377d6c5777a8f24ec43b /sphinx/highlighting.py
parent92f6212c98871ddba777524039d8b1950a069c53 (diff)
parent357f8472c7f8b7772d27c561215bc8f981f13001 (diff)
downloadsphinx-git-db8189083d6022a34b331d4c482776ba301eae1b.tar.gz
merge with 1.0
Diffstat (limited to 'sphinx/highlighting.py')
-rw-r--r--sphinx/highlighting.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/highlighting.py b/sphinx/highlighting.py
index 6d7109199..798c2d7bc 100644
--- a/sphinx/highlighting.py
+++ b/sphinx/highlighting.py
@@ -207,7 +207,7 @@ class PygmentsBridge(object):
lexer = lexers[lang] = get_lexer_by_name(lang)
except ClassNotFound:
if warn:
- warn('Pygments lexer name %s is not known' % lang)
+ warn('Pygments lexer name %r is not known' % lang)
return self.unhighlighted(source)
else:
raise