git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2to3 -f raise
[sfa.git]
/
sfa
/
rspecs
/
elements
/
versions
/
ofeliav1Port.py
diff --git
a/sfa/rspecs/elements/versions/ofeliav1Port.py
b/sfa/rspecs/elements/versions/ofeliav1Port.py
index
f4cf74d
..
009d551
100644
(file)
--- a/
sfa/rspecs/elements/versions/ofeliav1Port.py
+++ b/
sfa/rspecs/elements/versions/ofeliav1Port.py
@@
-8,7
+8,7
@@
class Ofeliav1Port:
@staticmethod
def add_portrs(xml, ports):
@staticmethod
def add_portrs(xml, ports):
- raise Exception
, "not implemented yet"
+ raise Exception
("not implemented yet")
if not ports:
return
if not isinstance(ports, list):
if not ports:
return
if not isinstance(ports, list):
@@
-22,7
+22,7
@@
class Ofeliav1Port:
@staticmethod
def add_port_attribute(xml, name, value):
@staticmethod
def add_port_attribute(xml, name, value):
- raise Exception
, "not implemented yet"
+ raise Exception
("not implemented yet")
elem = xml.add_element(name)
elem.set_text(value)
elem = xml.add_element(name)
elem.set_text(value)