+
+ def notify_error(self, code):
+ logger.log_msg('#%s: notifying web server about the error...'\
+ % code)
+
+ if config.WS_ERROR[len(config.WS_ERROR) - 1] == '/':
+ url = config.WS_ERROR + code
+ else:
+ url = config.WS_ERROR + '/' + code
+ url = url + '/' + 'unreachable'
+
+ f = urllib.urlopen(url)
+ f.read()