systematic use of context managers for dealing with files instead of open()/close...
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 12 Oct 2015 12:50:26 +0000 (14:50 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 12 Oct 2015 12:50:26 +0000 (14:50 +0200)
commitcb5d027b813a27d7de263653e1a8e0cef5490f0a
treec02a6afca005c168ae1ab8338ff80dcf893bc27a
parentda6134f8a027890f2ee477a4658163d7d79127f1
systematic use of context managers for dealing with files instead of open()/close() - and also a few file()
41 files changed:
examples/ccn_emu_live/dce.py
examples/ccn_emu_live/planetlab.py
examples/linux/ccn_simple_transfer.py
examples/linux/ccn_transfer_using_linuxapp.py
examples/linux/netcat_file_transfer.py
examples/linux/vlc_streaming.py
examples/omf/nitos_omf6_vlc.py
examples/omf/testing/nepi_omf6_plexus_ping_with_traces.py
examples/omf/vod_exp/demo_plot.py
examples/openvswitch/ovs_ping_3switches_loop.py
examples/openvswitch/ping_over_udpTapTunnel_performance_test_triangleTopo.py
examples/planetlab/ccn_simple_transfer.py
src/nepi/data/processing/ccn/parser.py
src/nepi/data/processing/ping/parser.py
src/nepi/resources/all/collector.py
src/nepi/resources/linux/application.py
src/nepi/resources/linux/node.py
src/nepi/resources/linux/scripts/fd-udp-connect.py
src/nepi/resources/linux/scripts/linux-tap-create.py
src/nepi/resources/linux/scripts/linux-udp-connect.py
src/nepi/resources/netns/netnswrapper.py
src/nepi/resources/netns/netnswrapper_debug.py
src/nepi/resources/ns3/ns3wrapper_debug.py
src/nepi/resources/ns3/resource_manager_generator.py
src/nepi/resources/omf/application.py
src/nepi/resources/omf/omf6_parser.py
src/nepi/resources/planetlab/node.py
src/nepi/resources/planetlab/scripts/pl-vif-create.py
src/nepi/resources/planetlab/scripts/pl-vif-up.py
src/nepi/resources/planetlab/sfa_node.py
src/nepi/util/environ.py
src/nepi/util/parallel.py
src/nepi/util/serializer.py
src/nepi/util/sfaapi.py
src/nepi/util/sshfuncs.py
test/resources/linux/netns/netnsclient.py
test/resources/linux/node.py
test/resources/linux/ns3/cross_dce_linux_ccn.py
test/resources/netns/netnswrapper.py
test/resources/omf/omf6_vlc_traces.py
test/util/sshfuncs.py