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
python3 - 2to3 + miscell obvious tweaks
[sfa.git]
/
sfa
/
rspecs
/
elements
/
versions
/
iotlabv1Sliver.py
diff --git
a/sfa/rspecs/elements/versions/iotlabv1Sliver.py
b/sfa/rspecs/elements/versions/iotlabv1Sliver.py
index
110b932
..
2cc2bf2
100644
(file)
--- a/
sfa/rspecs/elements/versions/iotlabv1Sliver.py
+++ b/
sfa/rspecs/elements/versions/iotlabv1Sliver.py
@@
-1,4
+1,4
@@
-from __future__ import print_function
+
from sfa.rspecs.elements.element import Element
from sfa.rspecs.elements.sliver import Sliver
from sfa.rspecs.elements.element import Element
from sfa.rspecs.elements.sliver import Sliver
@@
-39,7
+39,7
@@
class Iotlabv1Sliver:
attrib_elem = xml.add_element(
'{%s}info' % self.namespaces['flack'])
attrib_dict = eval(tag['value'])
attrib_elem = xml.add_element(
'{%s}info' % self.namespaces['flack'])
attrib_dict = eval(tag['value'])
- for (key, value) in
attrib_dict.items(
):
+ for (key, value) in
list(attrib_dict.items()
):
attrib_elem.set(key, value)
@staticmethod
attrib_elem.set(key, value)
@staticmethod