diff -r 88a9d64560d3 -r 7aa47c09f8f5 etherlab/CommonEtherCATFunction.py --- 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):