Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
logilab-mtconverter
Commits
efecd48dbd2a
Commit
890a880e
authored
Sep 18, 2015
by
Rémi Cardona
Browse files
[py3k] dict.itervalues → dict.values
parent
9e1187724054
Changes
1
Hide whitespace changes
Inline
Side-by-side
logilab/mtconverter/transforms/pygmentstransforms.py
View file @
efecd48d
...
...
@@ -39,7 +39,7 @@ from pygments.formatters import HtmlFormatter, LatexFormatter, RtfFormatter, Svg
# hint: changes MIMETYPES before registering pygments transforms if you don't
# want all available inputs
mimetypes
=
sorted
(
set
([
mt
for
_
,
_
,
_
,
_
,
mimetypes
in
LEXERS
.
iter
values
()
mimetypes
=
sorted
(
set
([
mt
for
_
,
_
,
_
,
_
,
mimetypes
in
LEXERS
.
values
()
for
mt
in
mimetypes
]))
class
PygmentsHTMLTransform
(
Transform
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment