Basic upgrade module from 3.2 to 3.3 implementation

'Basic' meaning no implementation at all.

Contributes to issue CURA-5054.
This commit is contained in:
Ghostkeeper 2018-03-09 13:59:31 +01:00
parent 970f1da810
commit 60de2aff65
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A
3 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,23 @@
# Copyright (c) 2018 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.
from . import VersionUpgrade32to33
upgrade = VersionUpgrade32to33.VersionUpgrade32to33()
def getMetaData():
return {
"version_upgrade": {
# From To Upgrade function
("quality", 2000004): ("quality", 3000004, upgrade.upgradeQuality),
},
"sources": {
"quality": {
"get_version": upgrade.getCfgVersion,
"location": {"./quality"}
}
}
}
def register(app):
return { "version_upgrade": upgrade }