commit | dcdadfe39afd9b7cddf1e20efa37babdad61ff77 | [log] [tgz] |
---|---|---|
author | Senthil Kumaran <senthil@uthcode.com> | Sat Jun 01 11:12:17 2013 -0700 |
committer | Senthil Kumaran <senthil@uthcode.com> | Sat Jun 01 11:12:17 2013 -0700 |
tree | 1c1c9c64efd8ee8bf533bb1c98cb05d451d6ddcf | |
parent | 4e42ae81f6a45f40a3f6a64192575bfc44f61bdb [diff] |
Fix thishost helper funtion in urllib. Returns the ipaddress of localhost when hostname is resolvable by socket.gethostname for local machine. This all fixes certain freebsd builtbot failures.