aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMauricio Faria de Oliveira <mfo@canonical.com>2020-11-19 16:18:01 +0000
committerJake Hunsaker <jhunsake@redhat.com>2020-11-23 10:45:59 -0500
commit2996d4078a28f865c9bf339c62b55c914b336815 (patch)
tree706e98590f5104e1ddc47ee8435da52b8fd20822 /tests
parentf104b083962a53c3c3e890be85f28a30eaccbf60 (diff)
downloadsos-2996d4078a28f865c9bf339c62b55c914b336815.tar.gz
[networking] Remove superfluous if/out_ns and re-indent per-ns code
Split this into its own commit as it's mostly indentation changes. From: ``` if self.g_n_n(): out_ns = self.g_n_n(<filters>) for namespace in out_ns: ... if self.get_option('ethtool_namespaces'): for namespace in out_ns: ... ``` To: ``` for namespace in self.g_n_n(<filters>): ... if self.get_option('ethtool_namespaces'): for namespace in self.g_n_n(<filters>): ... ``` Resolves: #2308 Signed-off-by: Mauricio Faria de Oliveira <mfo@canonical.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions