diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-10-08 19:38:44 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-08 19:38:44 +0300 |
| commit | ebe39ad5d1c4787cf74836c8b453fa4464051a5e (patch) | |
| tree | f6c52ae4a6c8498c9fe501d8e0170981c273350f /tests/topotests/pim-basic/mcast-rx.py | |
| parent | 75bc27898db9347ef6ffa4734cfb9f88e25c7b85 (diff) | |
| parent | 74d5f2543c89bdea7b9a3dcb43dd62c38dfd2ed7 (diff) | |
Merge pull request #7260 from qlyoung/reformat-python
Reformat python
Diffstat (limited to 'tests/topotests/pim-basic/mcast-rx.py')
| -rwxr-xr-x | tests/topotests/pim-basic/mcast-rx.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/topotests/pim-basic/mcast-rx.py b/tests/topotests/pim-basic/mcast-rx.py index 7aa4d4027e..862ad46af4 100755 --- a/tests/topotests/pim-basic/mcast-rx.py +++ b/tests/topotests/pim-basic/mcast-rx.py @@ -35,8 +35,9 @@ import time def ifname_to_ifindex(ifname): - output = subprocess.check_output("ip link show %s" % ifname, - shell=True, universal_newlines=True) + output = subprocess.check_output( + "ip link show %s" % ifname, shell=True, universal_newlines=True + ) first_line = output.split("\n")[0] re_index = re.search("^(\d+):", first_line) |
