fix dumb name error
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 25 Mar 2010 20:32:52 +0100
changeset 5023 70d5d54e8b81
parent 5022 7e09702aa766
child 5024 9e718abe3fde
fix dumb name error
cwconfig.py
--- a/cwconfig.py	Thu Mar 25 19:32:04 2010 +0100
+++ b/cwconfig.py	Thu Mar 25 20:32:52 2010 +0100
@@ -717,7 +717,7 @@
         if CWDEV:
             return join(CW_SOFTWARE_ROOT, 'misc', 'migration')
         mdir = join(_INSTALL_PREFIX, 'share', 'cubicweb', 'migration')
-        if not exists(path):
+        if not exists(mdif):
             raise ConfigurationError('migration path %s doesn\'t exist' % mdir)
         return mdir