zc.buildout monday trick :)

by Tarek Ziadé

When a site used by your buildout is not responding, you can stare at it for … ever

Add these two lines in your bin/buildout script:

import socket
socket.setdefaulttimeout(10)

With this, the buildout will go to the next link after ten seconds. This trick made my day 🙂