From 901cb75d67d0d624d982bde46ecd5b6c6b7a3852 Mon Sep 17 00:00:00 2001 From: duplo Date: Wed, 1 Apr 2009 12:45:59 +0000 Subject: [PATCH] Try to correct indentation problem... git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2456 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BVersionPage.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wizard/BVersionPage.py b/wizard/BVersionPage.py index 73e98614..e7da3bc5 100644 --- a/wizard/BVersionPage.py +++ b/wizard/BVersionPage.py @@ -35,12 +35,12 @@ class BVersionPage(BWizardPage): Overload of the QWizardPage isComplete method. """ if self.pageContent.versionList.currentRow() != -1: - # Remove trailing slash - sources_path = qvariant_converter.getString(self.pageContent.versionList.currentItem().data(Qt.UserRole)) - if sources_path.endswith(os.sep): - sources_path = sources_path[:-1] + sources_path = qvariant_converter.getString(self.pageContent.versionList.currentItem().data(Qt.UserRole)) + ## Remove the trailing slash + if sources_path.endswith(os.sep): + sources_path = sources_path[:-1] self.setProjectInfo("SOURCES_PATH", sources_path) - return True + return True else: return False -- 2.25.1