Try to correct indentation problem...
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 1 Apr 2009 12:45:59 +0000 (12:45 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 1 Apr 2009 12:45:59 +0000 (12:45 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2456 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BVersionPage.py

index 73e98614f74c039490c6f78d38c18c5e450f9a50..e7da3bc54724eb69d9d57cb82b3f632a1cbc3e64 100644 (file)
@@ -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