]> git.puffer.fish Git - matthieu/frr.git/commit
topotests: python3, replace execfile with exec
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 25 Nov 2020 09:37:15 +0000 (09:37 +0000)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 25 Nov 2020 16:19:33 +0000 (16:19 +0000)
commit6cb6c403f1895553d8637c0e8d219cd632455403
tree2320dc8d425625d0067fa1c7a7b3071630925eb8
parent2332790973b2ad4364c5d818e2dc72c4c329e73a
topotests: python3, replace execfile with exec

python3 does not support execfile implementation.
replace it with open and exec api that are available in both python 2
and 3 implementations.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
tests/topotests/lib/lutil.py