]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix `with open(...) as f:` 16509/head
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Fri, 14 Nov 2025 13:08:34 +0000 (08:08 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Fri, 14 Nov 2025 13:08:34 +0000 (08:08 -0500)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
regression-tests/bulktest-to-json.py

index 2c83ca6e6b8945172552701c335f4ff2a136cbed..c9e28db59ba1b825382de363b5476e778e39470d 100755 (executable)
@@ -13,7 +13,7 @@ for fname in glob.glob('testresults-*.xml'):
        vars['tag'] = tag
        varnames.update(vars.keys())
        stats=dict()
-       with open(fname) as f
+       with open(fname) as f:
                for line in f:
                        if line.startswith('&lt;'):
                                sname = line.split(';')[4][:-3]