cwconfig.py
changeset 5028 261add0b946c
parent 5026 1f8238eaec9b
child 5048 bf8a53a11b6d
--- a/cwconfig.py	Thu Mar 25 20:46:26 2010 +0100
+++ b/cwconfig.py	Thu Mar 25 20:32:10 2010 +0100
@@ -739,7 +739,7 @@
         if CWDEV:
             return join(CW_SOFTWARE_ROOT, 'misc', 'migration')
         mdir = join(_INSTALL_PREFIX, 'share', 'cubicweb', 'migration')
-        if not exists(mdif):
+        if not exists(mdir):
             raise ConfigurationError('migration path %s doesn\'t exist' % mdir)
         return mdir