infothrill/python-dyndnsc — pull request #29 by ThomasWaldmann (2014-11-09 16:23:38+00:00)
Title: detect_ip: avoid ResourceWarning about unclosed socket on python 3.x

i just added try/finally to support s.close(), rest is just block indentation change.