Skip to content

Commit 4c66e73

Browse files
authored
Merge pull request #16459 from jsoref/fix-checkDump-try-except
Fix try/except/as notation
2 parents 85356b3 + 4236665 commit 4c66e73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regression-tests.recursor-dnssec/test_RPZ.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def checkDump(self, serial, timeout=2):
434434
soa = zone.get_soa()
435435
if soa.serial == serial and soa.mname == dns.name.from_text('ns.zone.rpz.'):
436436
return # we found what we expected
437-
except e as FileNotFoundError:
437+
except FileNotFoundError as e:
438438
pass
439439
attempts = attempts + incr
440440
time.sleep(incr)

0 commit comments

Comments
 (0)