##// END OF EJS Templates
HighlightMagics: Remove assert and fix typo
Pablo de Oliveira -
Show More
@@ -86,8 +86,7 b' class HighlightMagicsPreprocessor(Preprocessor):'
86
86
87 if m:
87 if m:
88 # By construction of the re, the matched language must be in the
88 # By construction of the re, the matched language must be in the
89 # languages dictionnary
89 # languages dictionary
90 assert(m.group(1) in self.default_languages)
91 return self.default_languages[m.group(1)]
90 return self.default_languages[m.group(1)]
92 else:
91 else:
93 return None
92 return None
General Comments 0
You need to be logged in to leave comments. Login now