systematic use of context managers for dealing with files instead of open()/close...
[nepi.git] / src / nepi / resources / netns / netnswrapper.py
index 6c0968b..4456f97 100644 (file)
@@ -69,6 +69,7 @@ class NetNSWrapper(object):
         if clazzname == "open":
             path = args[0] 
             mode = args[1] 
+            # xxx Thierry: not sure where this gets closed
             obj = open(path, mode)
         else:
             clazz = getattr(netns, clazzname)