changeset 1811:90ae9a2462c2

plugin text syntaxes: fixes typo
author souliane <souliane@mailoo.org>
date Tue, 19 Jan 2016 11:49:25 +0100
parents 25c3569abb71
children 160b0d4c6520
files src/plugins/plugin_misc_text_syntaxes.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_misc_text_syntaxes.py	Thu Sep 17 11:04:17 2015 +0200
+++ b/src/plugins/plugin_misc_text_syntaxes.py	Tue Jan 19 11:49:25 2016 +0100
@@ -251,7 +251,7 @@
 
         syntaxes = TextSyntaxes.params_data['syntaxes']
         if name in syntaxes:
-            raise exceptions.ConflitError(u"This syntax name already exists: {}".format(name))
+            raise exceptions.ConflictError(u"This syntax name already exists: {}".format(name))
         syntaxes[name] = {"to": to_xhtml_cb, "from": from_xhtml_cb, "flags": flags}
         if TextSyntaxes.OPT_DEFAULT in flags:
             syntaxes = TextSyntaxes.params_data['default'] = name