diff options
author | Jaime van Kessel <nallath@gmail.com> | 2019-12-10 15:06:37 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2019-12-10 15:06:37 +0300 |
commit | f66b1e6fdef1749cbdb6f2e95a9678ae4275acbd (patch) | |
tree | 67acee24fce874c3284ad9e4d76311910be7518d /plugins/VersionUpgrade | |
parent | dd8993e88cd8c8d69d9b15e52d5cb1221c689fbc (diff) | |
parent | 7ba1db830a7c4cb4bc3f11d0084b25280109e7f7 (diff) |
Merge branch 'master' of github.com:Ultimaker/Cura into CURA-6522_revert_edge_distance_hack
Diffstat (limited to 'plugins/VersionUpgrade')
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py b/plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py index 1151d7101a..305cce16c6 100644 --- a/plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py +++ b/plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py @@ -239,7 +239,7 @@ class VersionUpgrade41to42(VersionUpgrade): # # This renames the renamed settings in the containers. def upgradeInstanceContainer(self, serialized: str, filename: str) -> Tuple[List[str], List[str]]: - parser = configparser.ConfigParser(interpolation = None) + parser = configparser.ConfigParser(interpolation = None, comment_prefixes=()) parser.read_string(serialized) # Update version number. diff --git a/plugins/VersionUpgrade/VersionUpgrade42to43/VersionUpgrade42to43.py b/plugins/VersionUpgrade/VersionUpgrade42to43/VersionUpgrade42to43.py index c15f1e0468..d6489f6d8b 100644 --- a/plugins/VersionUpgrade/VersionUpgrade42to43/VersionUpgrade42to43.py +++ b/plugins/VersionUpgrade/VersionUpgrade42to43/VersionUpgrade42to43.py @@ -104,7 +104,7 @@ class VersionUpgrade42to43(VersionUpgrade): # # This renames the renamed settings in the containers. def upgradeInstanceContainer(self, serialized: str, filename: str) -> Tuple[List[str], List[str]]: - parser = configparser.ConfigParser(interpolation = None) + parser = configparser.ConfigParser(interpolation = None, comment_prefixes=()) parser.read_string(serialized) # Update version number. diff --git a/plugins/VersionUpgrade/VersionUpgrade43to44/VersionUpgrade43to44.py b/plugins/VersionUpgrade/VersionUpgrade43to44/VersionUpgrade43to44.py index 40927fe3a0..8b69852cb2 100644 --- a/plugins/VersionUpgrade/VersionUpgrade43to44/VersionUpgrade43to44.py +++ b/plugins/VersionUpgrade/VersionUpgrade43to44/VersionUpgrade43to44.py @@ -52,7 +52,7 @@ class VersionUpgrade43to44(VersionUpgrade): # # This renames the renamed settings in the containers. def upgradeInstanceContainer(self, serialized: str, filename: str) -> Tuple[List[str], List[str]]: - parser = configparser.ConfigParser(interpolation = None) + parser = configparser.ConfigParser(interpolation = None, comment_prefixes=()) parser.read_string(serialized) # Update version number. |