From b8d5e4058ea0ca88179e3f09d7e1f9bd4bb3bb91 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Thu, 17 Oct 2019 01:31:12 +0200 Subject: nat: tests support python3 Type: fix Signed-off-by: Ole Troan Change-Id: Ie15ea8f01846f87cb65e90e8762dc941441fc176 --- test/ipfix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ipfix.py') diff --git a/test/ipfix.py b/test/ipfix.py index dd43560d9a6..374a8522168 100644 --- a/test/ipfix.py +++ b/test/ipfix.py @@ -535,7 +535,7 @@ class IPFIXDecoder(object): if template['id'] == data_set.setID: offset = 0 d = data_set[Data].data - for i in range(len(d) / template['rec_len']): + for i in range(len(d) // template['rec_len']): record = {} for field in template['fields']: f = d[offset:offset + field['len']] -- cgit 1.2.3-korg