summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-04-09 15:17:13 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-04-09 15:20:10 +0200
commita11e06d4906c2e1186779b42d5e87a17f66c50ea (patch)
tree1f37352641a20cfeb540a86e57dac3a8b5603f34 /scripts
parent8be9c484e77b5bddb1964970b179f174c2f1105a (diff)
Fix mime2lexer failing when using pygments info
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get_lexer_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get_lexer_list.py b/scripts/get_lexer_list.py
index 9453ff733..50e93bde5 100755
--- a/scripts/get_lexer_list.py
+++ b/scripts/get_lexer_list.py
@@ -11,7 +11,7 @@ def dictify(list):
for fullname, names, exts, mimetypes in pygments.lexers.get_all_lexers():
ret.append({
'fullname': fullname,
- 'names': dictify(names),
+ 'names': names,
'extentions': dictify(exts),
'mimetypes': dictify(mimetypes),
})