From b836311d676bced0b09990a8db6a43fdc617185b Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 24 Aug 2016 11:21:45 +0200 Subject: [PATCH] Remove double type-metadata One was in metadata. That is the correct one. The other is unnecessary and was being ignored, but we don't need to write it. Contributes to issue CURA-844. --- plugins/VersionUpgrade/VersionUpgrade21to22/MachineInstance.py | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/VersionUpgrade/VersionUpgrade21to22/MachineInstance.py b/plugins/VersionUpgrade/VersionUpgrade21to22/MachineInstance.py index 02113dbfc0..046e91e593 100644 --- a/plugins/VersionUpgrade/VersionUpgrade21to22/MachineInstance.py +++ b/plugins/VersionUpgrade/VersionUpgrade21to22/MachineInstance.py @@ -69,7 +69,6 @@ class MachineInstance: config.add_section("general") config.set("general", "name", self._name) config.set("general", "id", self._name) - config.set("general", "type", self._type_name) config.set("general", "version", "2") # Hard-code version 2, since if this number changes the programmer MUST change this entire function. import VersionUpgrade21to22 # Import here to prevent circular dependencies.