diff MoinMoin/config/multiconfig.py @ 3832:682fd34b9422

plugin config: fix error message
author Johannes Berg <johannes AT sipsolutions DOT net>
date Fri, 11 Jul 2008 16:26:28 +0200
parents 4a3c996f2d5f
children 5c91b9e2b9fc
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py	Fri Jul 11 16:19:34 2008 +0200
+++ b/MoinMoin/config/multiconfig.py	Fri Jul 11 16:26:28 2008 +0200
@@ -567,13 +567,13 @@
                 imp.release_lock()
         except ImportError, err:
             msg = """
-Could not import plugin package "%(path)s/plugin" because of ImportError:
+Could not import plugin package "%(path)s" because of ImportError:
 %(err)s.
 
 Make sure your data directory path is correct, check permissions, and
 that the data/plugin directory has an __init__.py file.
 """ % {
-    'path': self.data_dir,
+    'path': pdir,
     'err': str(err),
 }
             raise error.ConfigurationError(msg)