[B] migration: normalize migration script path stable
authorJulien Jehannet <julien.jehannet@logilab.fr>
Tue, 10 Nov 2009 10:48:22 +0100
branchstable
changeset 3812 d37d7105e15f
parent 3811 3726e921f537
child 3814 a4659adf4eee
[B] migration: normalize migration script path
common/migration.py
--- a/common/migration.py	Mon Nov 09 16:41:40 2009 +0100
+++ b/common/migration.py	Tue Nov 10 10:48:22 2009 +0100
@@ -269,6 +269,7 @@
         confirmation and execute it if confirmed
         """
         assert migrscript.endswith('.py'), migrscript
+        migrscript = os.path.normpath(migrscript)
         if self.execscript_confirm(migrscript):
             scriptlocals = self._create_context().copy()
             if funcname is None: