git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
blind review on list-operations added by 2to3:
[nepi.git]
/
src
/
nepi
/
resources
/
netns
/
netnswrapper.py
diff --git
a/src/nepi/resources/netns/netnswrapper.py
b/src/nepi/resources/netns/netnswrapper.py
index
b7847ef
..
f1fe4cd
100644
(file)
--- a/
src/nepi/resources/netns/netnswrapper.py
+++ b/
src/nepi/resources/netns/netnswrapper.py
@@
-112,6
+112,7
@@
class NetNSWrapper(object):
# If the result is an object (not a base value),
# then keep track of the object a return the object
# reference (newuuid)
# If the result is an object (not a base value),
# then keep track of the object a return the object
# reference (newuuid)
+ # xxx the two instances of `int` are from 2to3
if not (result is None or type(result) in [
bool, float, int, str, int]):
self._objects[newuuid] = result
if not (result is None or type(result) in [
bool, float, int, str, int]):
self._objects[newuuid] = result