Try to correct indentation problem...
[bertos.git] / 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