From ab5542815640b184ac3038500ad282a083bcd8e6 Mon Sep 17 00:00:00 2001 From: duplo Date: Tue, 21 Apr 2009 13:04:13 +0000 Subject: [PATCH] Strip the gcc output git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2601 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BCreationPage.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wizard/BCreationPage.py b/wizard/BCreationPage.py index 2ba4adc8..1e2f7fdc 100644 --- a/wizard/BCreationPage.py +++ b/wizard/BCreationPage.py @@ -51,12 +51,12 @@ class BCreationPage(BWizardPage): toolchain_title = QTreeWidgetItem(QStringList([self.tr("Toolchain")])) toolchain_info = self.projectInfo("TOOLCHAIN") if "target" in toolchain_info: - toolchain_target = QTreeWidgetItem(toolchain_title, QStringList([self.tr("target: " + toolchain_info["target"])])) + toolchain_target = QTreeWidgetItem(toolchain_title, QStringList([self.tr("target: " + toolchain_info["target"].strip())])) version = "" if "version" in toolchain_info: - version += "version: " + "GCC " + toolchain_info["version"] + " " + version += "version: " + "GCC " + toolchain_info["version"].strip() + " " if "build" in toolchain_info: - version += "(" + toolchain_info["build"] + ")" + version += "(" + toolchain_info["build"].strip() + ")" if "version" in toolchain_info: toolchain_target = QTreeWidgetItem(toolchain_title, QStringList([version])) toolchain_path = QTreeWidgetItem(toolchain_title, QStringList([self.tr("path: " + os.path.normpath(toolchain_info["path"]))])) -- 2.25.1