Skip to content

Commit aa71b19

Browse files
committed
Merge branch 'pull/24'
* Merging pull request apenwarr#24.
2 parents 0730639 + c1bec6c commit aa71b19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hostwatch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def _check_revdns(ip):
9999
debug3('< %s\n' % r[0])
100100
check_host(r[0])
101101
found_host(r[0], ip)
102-
except socket.herror, e:
102+
except (socket.gaierror, socket.herror), e:
103103
pass
104104

105105

0 commit comments

Comments
 (0)