fixed updated raised exceptions to be 2/3 compatible
This commit is contained in:
parent
feebd8704f
commit
b42b5b1a5a
3 changed files with 3 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue