equal
deleted
inserted
replaced
252 }) |
252 }) |
253 |
253 |
254 for device in self.devices_xpath(self.modules_infos): |
254 for device in self.devices_xpath(self.modules_infos): |
255 device_group = device.getGroupType() |
255 device_group = device.getGroupType() |
256 if device_group not in vendor_category["groups"]: |
256 if device_group not in vendor_category["groups"]: |
257 raise ValueError("Not such group \"%\"" % device_group) |
257 raise ValueError("Not such group \"%s\"" % device_group) |
258 vendor_category["groups"][device_group]["devices"].append( |
258 vendor_category["groups"][device_group]["devices"].append( |
259 (device.getType().getcontent(), device)) |
259 (device.getType().getcontent(), device)) |
260 |
260 |
261 else: |
261 else: |
262 |
262 |