We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 619a1ce commit cf3a73eCopy full SHA for cf3a73e
1 file changed
bin/sdns.py
@@ -73,9 +73,9 @@ def task(amapping_blacklist, ip_list):
73
delay = ping(ip, 2)
74
except socket.gaierror as e:
75
delay = None
76
- except Exception as e:
77
- logger.exception(e)
78
- continue
+ except Exception as e:
+ logger.exception(e)
+ continue
79
if delay == None and ip not in amapping_blacklist:
80
amapping_blacklist.add(ip)
81
if delay != None and ip in amapping_blacklist:
0 commit comments