except IOError, msg:
if (msg[0] == "http error") and (msg[1] == -1):
bookmark.no_error = "The server did not return any header - it is not an error, actually"
except IOError, msg:
if (msg[0] == "http error") and (msg[1] == -1):
bookmark.no_error = "The server did not return any header - it is not an error, actually"