def METHOD_NAME(url):
    try:
        download = urllib2.urlopen(url)
    except urllib2.URLError as e:
        print("Error downloading the archive at %s: %s" % (url, e.message()))
        sys.exit(-1)
    if download.getcode() != 200:
        print("Error downloading the archive at %s: HTTP Error %i" % (url, download.getcode()))
        sys.exit(-1)
    return download