changeset 2378 | 7aa47c09f8f5 |
parent 2375 | cfa68a06a24d |
child 2382 | e783c6beacf1 |
--- a/etherlab/CommonEtherCATFunction.py Sat Sep 29 13:34:06 2018 +0300 +++ b/etherlab/CommonEtherCATFunction.py Sat Sep 29 13:44:02 2018 +0300 @@ -28,7 +28,7 @@ return int(value.replace("#", "0"), 16) except Exception: - raise ValueError, "Invalid value for HexDecValue \"%s\"" % value + raise ValueError("Invalid value for HexDecValue \"%s\"" % value) def ExtractName(names, default=None):