From: duplo Date: Tue, 21 Apr 2009 13:04:13 +0000 (+0000) Subject: Strip the gcc output X-Git-Tag: 2.1.0~81 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=ab5542815640b184ac3038500ad282a083bcd8e6;p=bertos.git Strip the gcc output git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2601 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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"]))]))