From: duplo Date: Wed, 1 Apr 2009 12:45:59 +0000 (+0000) Subject: Try to correct indentation problem... X-Git-Tag: 2.1.0~226 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=901cb75d67d0d624d982bde46ecd5b6c6b7a3852;p=bertos.git Try to correct indentation problem... git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2456 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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