- if self.options.testbox: boxes += [self.test_box.hostname]
- if self.options.builds: boxes += [b.hostname for b in self.build_boxes]
- if self.options.plcs: boxes += [b.hostname for b in self.plc_boxes]
- if self.options.qemus: boxes += [b.hostname for b in self.qemu_boxes]
- if self.options.all: boxes += [b.hostname for b in self.all_boxes]
- boxes=list(set(boxes))
+ if self.options.testbox: boxes += [self.test_box]
+ if self.options.builds: boxes += self.build_boxes
+ if self.options.plcs: boxes += self.plc_boxes
+ if self.options.qemus: boxes += self.qemu_boxes
+ if self.options.all: boxes += self.all_boxes