fixed updated raised exceptions to be 2/3 compatible

This commit is contained in:
bharnden 2019-05-05 16:56:18 -07:00
parent feebd8704f
commit b42b5b1a5a
3 changed files with 3 additions and 4 deletions

View file

@ -432,7 +432,7 @@ class GreTap(CoreInterface):
return
if remoteip is None:
raise ValueError, "missing remote IP required for GRE TAP device"
raise ValueError("missing remote IP required for GRE TAP device")
args = [constants.IP_BIN, "link", "add", self.localname, "type", "gretap",
"remote", str(remoteip)]
if localip: