diff options
author | Jaime van Kessel <nallath@gmail.com> | 2020-04-10 14:58:10 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2020-04-10 14:58:10 +0300 |
commit | 2e9dca71ce1c506535bffe2d04f79045e5f9a019 (patch) | |
tree | 67eaafe7101f715e8274ae63651e456e9c253d1c /plugins/XmlMaterialProfile | |
parent | fe27da5e8a945d8b79834aa5779b323045f7e742 (diff) |
Remove a number of unused imports
Diffstat (limited to 'plugins/XmlMaterialProfile')
-rw-r--r-- | plugins/XmlMaterialProfile/XmlMaterialProfile.py | 2 | ||||
-rw-r--r-- | plugins/XmlMaterialProfile/tests/TestXmlMaterialProfile.py | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/plugins/XmlMaterialProfile/XmlMaterialProfile.py b/plugins/XmlMaterialProfile/XmlMaterialProfile.py index 30bbecc86e..4e0d1e09f5 100644 --- a/plugins/XmlMaterialProfile/XmlMaterialProfile.py +++ b/plugins/XmlMaterialProfile/XmlMaterialProfile.py @@ -5,7 +5,6 @@ import copy import io import json #To parse the product-to-id mapping file. import os.path #To find the product-to-id mapping. -import sys from typing import Any, Dict, List, Optional, Tuple, cast, Set, Union import xml.etree.ElementTree as ET @@ -18,7 +17,6 @@ from UM.Settings.ContainerRegistry import ContainerRegistry from UM.ConfigurationErrorMessage import ConfigurationErrorMessage from cura.CuraApplication import CuraApplication -from cura.Machines.ContainerTree import ContainerTree from cura.Machines.VariantType import VariantType try: diff --git a/plugins/XmlMaterialProfile/tests/TestXmlMaterialProfile.py b/plugins/XmlMaterialProfile/tests/TestXmlMaterialProfile.py index 1bc19f773a..ef1587a70b 100644 --- a/plugins/XmlMaterialProfile/tests/TestXmlMaterialProfile.py +++ b/plugins/XmlMaterialProfile/tests/TestXmlMaterialProfile.py @@ -1,6 +1,4 @@ from unittest.mock import patch, MagicMock -import sys -import os # Prevents error: "PyCapsule_GetPointer called with incorrect name" with conflicting SIP configurations between Arcus and PyQt: Import Arcus and Savitar first! import Savitar # Dont remove this line |