From: Faiyaz Ahmed Date: Thu, 21 Aug 2008 02:44:54 +0000 (+0000) Subject: Fixed KeyError in logging X-Git-Tag: NodeManager-1.7-29~2 X-Git-Url: http://git.onelab.eu/?p=nodemanager.git;a=commitdiff_plain;h=f5623985b1c1bc081d9eb8f9bd9af0e43f79dbfa Fixed KeyError in logging --- diff --git a/bwmon.py b/bwmon.py index 8f04808..10cdd95 100644 --- a/bwmon.py +++ b/bwmon.py @@ -333,7 +333,7 @@ class Slice: params['new_maxrate'] = bwlimit.format_tc_rate(new_maxexemptrate) message += template % params - logger.log("bwmon: ** %(slice)s %(class)s capped at %(new_maxexemptrate)s/s " % params) + logger.log("bwmon: ** %(slice)s %(class)s capped at %(new_maxrate)s/s " % params) # Notify slice if message and self.emailed == False: