diff options
author | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-04-11 00:50:18 +0100 |
---|---|---|
committer | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-04-11 14:55:15 +0100 |
commit | 52d120cfa137887a856025229421b1e01e4a7ecd (patch) | |
tree | 52cfd1ed8856f7d441f110a54279d38366debb3e /src/conf_mode | |
parent | c46c19e918edf9304fa65b678e54cb84aca245fc (diff) | |
download | vyos-1x-52d120cfa137887a856025229421b1e01e4a7ecd.tar.gz vyos-1x-52d120cfa137887a856025229421b1e01e4a7ecd.zip |
util: T2226: do not use universal_newlines
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/flow_accounting_conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/flow_accounting_conf.py b/src/conf_mode/flow_accounting_conf.py index 1008f3fae..192b984ce 100755 --- a/src/conf_mode/flow_accounting_conf.py +++ b/src/conf_mode/flow_accounting_conf.py @@ -82,7 +82,7 @@ def _iptables_get_nflog(): for iptables_variant in ['iptables', 'ip6tables']: # run iptables, save output and split it by lines iptables_command = "sudo {0} -t {1} -S {2}".format(iptables_variant, iptables_nflog_table, iptables_nflog_chain) - cmd(iptables_command, universal_newlines=True, message='Failed to get flows list') + cmd(iptables_command, message='Failed to get flows list') iptables_out = stdout.splitlines() # parse each line and add information to list |