changeset 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 712e5938ec59
files MoinMoin/config/multiconfig.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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)