Ticket #1120: fix_proposal2_r2113.patch
| File fix_proposal2_r2113.patch, 0.6 kB (added by mape, 1 year ago) |
|---|
-
tracpygments/__init__.py
old new 210 210 self._languages = {} 211 211 if have_pygments: 212 212 for name, aliases, _, mimetypes in get_all_lexers(): 213 if in ['reStructuredText','diff']: 214 continue 213 215 for mimetype in mimetypes: 214 216 self._types[mimetype] = (aliases[0], self.QUALITY_RATIO) 215 217 for alias in aliases:
