From 3f3c2a1f66840bee1da05598cf62f299317f483a Mon Sep 17 00:00:00 2001 From: Thomas Mangin Date: Thu, 5 Mar 2020 23:22:39 +0000 Subject: ifconfig: T2104: splt ifconfig.py into multiple files --- src/conf_mode/interfaces-ethernet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode/interfaces-ethernet.py') diff --git a/src/conf_mode/interfaces-ethernet.py b/src/conf_mode/interfaces-ethernet.py index 43cc22589..ede62e5e3 100755 --- a/src/conf_mode/interfaces-ethernet.py +++ b/src/conf_mode/interfaces-ethernet.py @@ -250,7 +250,7 @@ def verify(eth): bond_member = conf.return_values('interfaces bonding ' + bond + ' member interface') if eth['intf'] in bond_member: if eth['address']: - raise ConfigError('Can not assign address to interface {} which is a member of {}').format(eth['intf'], bond) + raise ConfigError('Can not assign address to interface {} which is a member of {}'.format(eth['intf'], bond)) # DHCPv6 parameters-only and temporary address are mutually exclusive for vif_s in eth['vif_s']: -- cgit v1.2.3