X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Fresources%2Fnetns%2Fnetnswrapper.py;h=f1fe4cd63bd4497a66106c4693a2aa6e4424912d;hb=b4af9a40867beff8660612fe20d3838cb375f159;hp=b7847ef43e7a8c0be451735410a0f8bbb71d4c12;hpb=b3292d8429f07d0e9d21a3ec2d81dbc4b18332d1;p=nepi.git diff --git a/src/nepi/resources/netns/netnswrapper.py b/src/nepi/resources/netns/netnswrapper.py index b7847ef4..f1fe4cd6 100644 --- 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) + # 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