Applied requested changes proposed by @ninovanhooff

Fixed a couple of missed double quotes, trailing and leading spaces, to long comment lines
This commit is contained in:
Jelle Spijker 2020-04-27 20:09:00 +02:00 committed by Jelle Spijker
parent 9b44ca37ef
commit 679739d09d
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A
9 changed files with 27 additions and 28 deletions

View file

@ -440,8 +440,7 @@ class CuraApplication(QtApplication):
def __setLatestResouceVersionsForVersionUpgrade(self):
"""Initializes the version upgrade manager with by providing the paths for each resource type and the latest
versions.
"""
versions. """
self._version_upgrade_manager.setCurrentVersions(
{
@ -645,7 +644,7 @@ class CuraApplication(QtApplication):
showMessageBox = pyqtSignal(str,str, str, str, int, int,
arguments = ["title", "text", "informativeText", "detailedText","buttons", "icon"])
""" A reusable dialogbox"""
"""A reusable dialogbox"""
def messageBox(self, title, text,
informativeText = "",
@ -1873,7 +1872,7 @@ class CuraApplication(QtApplication):
@pyqtSlot(str, result=bool)
def checkIsValidProjectFile(self, file_url):
""" Checks if the given file URL is a valid project file. """
"""Checks if the given file URL is a valid project file. """
file_path = QUrl(file_url).toLocalFile()
workspace_reader = self.getWorkspaceFileHandler().getReaderForFile(file_path)