Kaydet (Commit) 9e43adbe authored tarafından Guido van Rossum's avatar Guido van Rossum

Initialize adlist variable in getrouteaddr(), so an illegal address

doesn't cause a traceback.
üst 9bdc436a
......@@ -450,6 +450,7 @@ class AddrlistClass:
expectroute = 0
self.pos = self.pos + 1
self.gotonext()
adlist = None
while self.pos < len(self.field):
if expectroute:
self.getdomain()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment