etherlab/etherlab.py
changeset 2412 22b1879a3c15
parent 2406 ffd091b51cd0
child 2418 5587c490a070
--- a/etherlab/etherlab.py	Mon Oct 01 13:43:50 2018 +0300
+++ b/etherlab/etherlab.py	Mon Oct 01 14:13:05 2018 +0300
@@ -254,7 +254,7 @@
                     for device in self.devices_xpath(self.modules_infos):
                         device_group = device.getGroupType()
                         if device_group not in vendor_category["groups"]:
-                            raise ValueError("Not such group \"%\"" % device_group)
+                            raise ValueError("Not such group \"%s\"" % device_group)
                         vendor_category["groups"][device_group]["devices"].append(
                             (device.getType().getcontent(), device))