From 9ae0bc640aa7bd9f40b4ea755b89c878ce7de8cb Mon Sep 17 00:00:00 2001 From: Faiyaz Ahmed Date: Fri, 30 Jan 2009 21:51:33 +0000 Subject: [PATCH] Syntax error. --- net.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net.py b/net.py index 606527c..ba48959 100644 --- a/net.py +++ b/net.py @@ -15,7 +15,7 @@ import bwlimit, logger, iptables def GetSlivers(plc, data, config): InitInterfaces(plc, data) # writes sysconfig files. - if ('OVERRIDES' in dir(config)) and (config.OVERRIDESget('net_max_rate') == -1): + if ('OVERRIDES' in dir(config)) and (config.OVERRIDES.get('net_max_rate') == -1): logger.log("Slice and node BW Limits disabled.") if len(bwlimit.get()): logger.verbose("*** DISABLING NODE BW LIMITS ***") -- 2.43.0