Browse Source

Small refactor (init set plain instead of with empty list). [CURA-6120]

Remco Burema 6 years ago
parent
commit
0e329946f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/Arranging/ArrangeObjectsJob.py

+ 1 - 1
cura/Arranging/ArrangeObjectsJob.py

@@ -40,7 +40,7 @@ class ArrangeObjectsJob(Job):
         arranger = Arrange.create(x = machine_width, y = machine_depth, fixed_nodes = self._fixed_nodes, min_offset = self._min_offset)
 
         # Build set to exclude children (those get arranged together with the parents).
-        included_as_child = set([])
+        included_as_child = set()
         for node in self._nodes:
             included_as_child.update(node.getAllChildren())