aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/VES5.0/evel/evel-test-collector/code/collector/test_control.py
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/VES5.0/evel/evel-test-collector/code/collector/test_control.py')
-rw-r--r--vnfs/VES5.0/evel/evel-test-collector/code/collector/test_control.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnfs/VES5.0/evel/evel-test-collector/code/collector/test_control.py b/vnfs/VES5.0/evel/evel-test-collector/code/collector/test_control.py
index 72f53fb2..5d7394e1 100644
--- a/vnfs/VES5.0/evel/evel-test-collector/code/collector/test_control.py
+++ b/vnfs/VES5.0/evel/evel-test-collector/code/collector/test_control.py
@@ -43,9 +43,9 @@ def command_interval(interval):
def command_throttle(domain, fields, pairs):
"return a throttlingSpecification"
throttle_spec = {'eventDomain' : domain}
- if len(fields):
+ if fields:
throttle_spec['suppressedFieldNames'] = fields
- if len(pairs):
+ if pairs:
throttle_spec['suppressedNvPairsList'] = pairs
return {'command':
{'commandType': 'throttlingSpecification',