]> git.ipfire.org Git - location/libloc.git/commit
export: Speed-up export in xt_geoip format
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 19 Nov 2020 12:41:19 +0000 (12:41 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 19 Nov 2020 12:41:19 +0000 (12:41 +0000)
commit90188dad86223380b0854b523b63ec024117c5f2
tree46a9ae8e68e9ab570c754a75f0c10884dd3c587b
parent90d2194a876c223f9124ce9e27bdee6a6b49ff6a
export: Speed-up export in xt_geoip format

Removing the loop avoids creating a tuple and then iterating over it

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/python/export.py