From: Steven Black Date: Wed, 28 Oct 2015 23:33:59 +0000 (-0400) Subject: File is unavailable. Don't raise this error; just eat it. X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=aa8b9508e03f317f2fb31149bc9a633aca323819;p=stevenblack-hosts.git File is unavailable. Don't raise this error; just eat it. --- diff --git a/updateHostsFile.py b/updateHostsFile.py index cf7503a89..a78825ddb 100755 --- a/updateHostsFile.py +++ b/updateHostsFile.py @@ -37,7 +37,7 @@ def getFileByUrl(url): return f.read().decode("UTF-8") except: print ("Problem getting file: ", url); - raise + # raise # In Python 3 "print" is a function, braces are added everywhere