]> git.proxmox.com Git - mirror_ifupdown2.git/commitdiff
Fix indentation error in ethtool.py
authorAnton Lindström <carlantonlindstrom@gmail.com>
Sun, 9 Sep 2018 17:28:31 +0000 (19:28 +0200)
committerGitHub <noreply@github.com>
Sun, 9 Sep 2018 17:28:31 +0000 (19:28 +0200)
addons/ethtool.py

index d08c6330834b52ab66ffed95f0cba3ddd647a29a..7cb52c6af03d0ea0ea167414de051fe83e6c4509 100644 (file)
@@ -252,7 +252,7 @@ class ethtool(moduleBase,utilsBase):
             for attr in ethtool_output.splitlines():
                 if attr.startswith('FEC encodings'):
                     fec_attrs = attr.split()
-                return(fec_attrs[fec_attrs.index(':')+1])
+                    return(fec_attrs[fec_attrs.index(':')+1])
         except Exception as e:
             self.logger.debug('ethtool: problems in ethtool set-fec output'
                                ' %s: %s' %(ethtool_output.splitlines(), str(e)))