diff -r dea107dce0c4 -r 750eeb7230a1 editors/LDViewer.py --- a/editors/LDViewer.py Mon Aug 14 21:31:01 2017 +0300 +++ b/editors/LDViewer.py Mon Aug 14 22:23:17 2017 +0300 @@ -211,7 +211,7 @@ if rung not in rungs: rungs.append(rung) if len(rungs) > 1: - raise ValueError, _("Ladder element with id %d is on more than one rung.")%instance["id"] + raise ValueError, _("Ladder element with id %d is on more than one rung.") % instance["id"] element = self.FindElementById(instance["id"]) element_connectors = element.GetConnectors() self.Rungs[rungs[0]].SelectElement(element) @@ -227,7 +227,7 @@ if rung not in rungs: rungs.append(rung) if len(rungs) > 1: - raise ValueError, _("Ladder element with id %d is on more than one rung.")%instance["id"] + raise ValueError, _("Ladder element with id %d is on more than one rung.") % instance["id"] element = self.FindElementById(instance["id"]) element_connectors = element.GetConnectors() self.Rungs[rungs[0]].SelectElement(element)