[orca] Additional fix for bug #628569



commit a48205b7d930380b6d44fef4a60284a44087251c
Author: Alejandro Leiva <aleiva emergya es>
Date:   Mon Sep 13 21:41:15 2010 +0200

    Additional fix for bug #628569

 src/orca/orca.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/orca.py b/src/orca/orca.py
index a4cb691..6c9e72a 100644
--- a/src/orca/orca.py
+++ b/src/orca/orca.py
@@ -2171,7 +2171,8 @@ def main():
     for baseDirName, dirNames, fileNames in os.walk(oldUserPrefsDir):
 
         for dirName in dirNames:
-            dstDir = os.path.join(userPrefsDir, dirName)
+            relPath = os.path.relpath(baseDirName, oldUserPrefsDir)
+            dstDir = os.path.join(os.path.join(userPrefsDir, relPath), dirName)
             if not os.path.exists(dstDir):
                 os.mkdir(dstDir)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]