Ticket #974: ticket-974.patch
File ticket-974.patch, 354 bytes (added by guyzmo, at 2010-08-03T18:53:43Z) |
---|
Line | |
---|---|
1 | diff -rN old-tahoe-lafs/src/allmydata/scripts/tahoe_add_alias.py new-tahoe-lafs/src/allmydata/scripts/tahoe_add_alias.py |
2 | 1a2 |
3 | > import socket |
4 | 70c71,75 |
5 | < resp = do_http("POST", url) |
6 | --- |
7 | > try: |
8 | > resp = do_http("POST", url) |
9 | > except socket.error, err: |
10 | > print "Error trying to connect to %s: %s" % (url, err) |
11 | > return -1 |