X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Fresources%2Fns3%2Fns3wrapper.py;fp=src%2Fnepi%2Fresources%2Fns3%2Fns3wrapper.py;h=dcaadeb5c10076044640010fa668bc4f250ff17e;hb=b4af9a40867beff8660612fe20d3838cb375f159;hp=cea3afbd70baea06e5efb4f005cc1bfe9b5522c9;hpb=b3292d8429f07d0e9d21a3ec2d81dbc4b18332d1;p=nepi.git diff --git a/src/nepi/resources/ns3/ns3wrapper.py b/src/nepi/resources/ns3/ns3wrapper.py index cea3afbd..dcaadeb5 100644 --- a/src/nepi/resources/ns3/ns3wrapper.py +++ b/src/nepi/resources/ns3/ns3wrapper.py @@ -326,6 +326,7 @@ class NS3Wrapper(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