Commits

Anonymous committed 9af970e

Fixed missing parentheses on my previous commit, sorry.

Comments (0)

Files changed (1)

     conn = httplib.HTTPConnection("pyquery.org:80")
     conn.request("GET", "/")
     response = conn.getresponse()
-except socket.timeout, socket.error:
+except (socket.timeout, socket.error):
     GOT_NET=False
 else:
     GOT_NET=True