Moved warning to VersionUpgradeManager

CURA-2883
This commit is contained in:
Jaime van Kessel 2016-11-21 11:21:20 +01:00
parent 9057174691
commit 1a2138de5a

View file

@ -81,7 +81,6 @@ class Profile:
import VersionUpgrade21to22 # Import here to prevent circular dependencies. import VersionUpgrade21to22 # Import here to prevent circular dependencies.
if self._name == "Current settings": if self._name == "Current settings":
Logger.log("w", "Unable to upgrade this profile. Skipping it.")
return None, None #Can't upgrade these, because the new current profile needs to specify the definition ID and the old file only had the machine instance, not the definition. return None, None #Can't upgrade these, because the new current profile needs to specify the definition ID and the old file only had the machine instance, not the definition.
config = configparser.ConfigParser(interpolation = None) config = configparser.ConfigParser(interpolation = None)