From 99cd4e1028fe1f49de42960dc2535bfbbaf7977d Mon Sep 17 00:00:00 2001 From: duplo Date: Thu, 10 Sep 2009 11:12:04 +0000 Subject: [PATCH] Normalize path of BeRTOS versions before insert them into the Version set git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2924 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BVersionPage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wizard/BVersionPage.py b/wizard/BVersionPage.py index beda4e95..37097c4f 100644 --- a/wizard/BVersionPage.py +++ b/wizard/BVersionPage.py @@ -184,8 +184,8 @@ class BVersionPage(BWizardPage): versions = set([]) if os.name == "nt": import winreg_importer - versions |= set(winreg_importer.getBertosDirs()) - versions |= set(self.versions()) + versions |= set([os.path.normpath(dir) for dir in winreg_importer.getBertosDirs()]) + versions |= set([os.path.normpath(dir) for dir in self.versions()]) selected = self.projectInfo("SOURCES_PATH") for directory in versions: item = self.insertListElement(directory) -- 2.25.1