changeset 2033:a6d829ec895d

GUI editor: use correct module import function
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 24 Apr 2007 15:04:05 +0200
parents cf883a6917ea
children b85e5f7fc3f2
files MoinMoin/action/edit.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/edit.py	Thu Apr 26 13:09:26 2007 +0200
+++ b/MoinMoin/action/edit.py	Tue Apr 24 15:04:05 2007 +0200
@@ -94,7 +94,7 @@
                 converter_name = 'text_html_text_moin_wiki'
             else:
                 converter_name = 'undefined' # XXX we don't have other converters yet
-            convert = wikiutil.searchAndImportPlugin(request.cfg, "converter", converter_name)
+            convert = wikiutil.importPlugin(request.cfg, "converter", converter_name, 'convert')
             savetext = convert(request, pagename, savetext)
 
         # IMPORTANT: normalize text from the form. This should be done in