Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2020-01-10 18:37:46 +0300
committerJaime van Kessel <nallath@gmail.com>2020-01-10 18:37:46 +0300
commite74f049142811d4ed5ce6406bc0075fd4f7c68ee (patch)
tree3671ccf6f11aa946a78c54a513b0884c692a41b2 /cura/Scene
parentbb52ba6848dd8319a5cf10bd5e2eaba994f159a5 (diff)
Fix bunch of issues found by pylint
Diffstat (limited to 'cura/Scene')
-rw-r--r--cura/Scene/BlockSlicingDecorator.py5
-rw-r--r--cura/Scene/GCodeListDecorator.py4
2 files changed, 6 insertions, 3 deletions
diff --git a/cura/Scene/BlockSlicingDecorator.py b/cura/Scene/BlockSlicingDecorator.py
index d9c9e0ac5e..3f0d57a83f 100644
--- a/cura/Scene/BlockSlicingDecorator.py
+++ b/cura/Scene/BlockSlicingDecorator.py
@@ -9,4 +9,7 @@ class BlockSlicingDecorator(SceneNodeDecorator):
super().__init__()
def isBlockSlicing(self) -> bool:
- return True \ No newline at end of file
+ return True
+
+ def __deepcopy__(self, memo):
+ return BlockSlicingDecorator() \ No newline at end of file
diff --git a/cura/Scene/GCodeListDecorator.py b/cura/Scene/GCodeListDecorator.py
index 6c52fb89bf..b8db706db3 100644
--- a/cura/Scene/GCodeListDecorator.py
+++ b/cura/Scene/GCodeListDecorator.py
@@ -17,8 +17,8 @@ class GCodeListDecorator(SceneNodeDecorator):
def getGCodeList(self) -> List[str]:
return self._gcode_list
- def setGCodeList(self, list: List[str]) -> None:
- self._gcode_list = list
+ def setGCodeList(self, gcode_list: List[str]) -> None:
+ self._gcode_list = gcode_list
def __deepcopy__(self, memo) -> "GCodeListDecorator":
copied_decorator = GCodeListDecorator()