summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/ethernet.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-24 07:10:47 +0100
committerGitHub <noreply@github.com>2020-03-24 07:10:47 +0100
commitacb9815216dfe48c9d8684056381d9cd7b10fee0 (patch)
tree9c011c37f08d2ed747b10ef90198103e07dd38da /python/vyos/ifconfig/ethernet.py
parent92e6efeec0e46570daacd5d96e754a3c89868e0b (diff)
parent8f39784c847801c0b766a0c9289da0976ffd0604 (diff)
downloadvyos-1x-acb9815216dfe48c9d8684056381d9cd7b10fee0.tar.gz
vyos-1x-acb9815216dfe48c9d8684056381d9cd7b10fee0.zip
Merge pull request #261 from thomas-mangin/2154
ethernet: T2154: do not report errors where none are
Diffstat (limited to 'python/vyos/ifconfig/ethernet.py')
-rw-r--r--python/vyos/ifconfig/ethernet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/ethernet.py b/python/vyos/ifconfig/ethernet.py
index 8b6b6d9db..30e3a3bef 100644
--- a/python/vyos/ifconfig/ethernet.py
+++ b/python/vyos/ifconfig/ethernet.py
@@ -120,7 +120,7 @@ class EthernetIf(VLANIf):
try:
# An exception will be thrown if the settings are not changed
return self._cmd(cmd)
- except CalledProcessError:
+ except RuntimeError:
pass
def set_speed_duplex(self, speed, duplex):