From 4800f8a78225113a185502c284728c3645cf0e3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marta=20G=C3=B3mez=20Mac=C3=ADas?= Date: Fri, 4 May 2018 10:39:18 +0200 Subject: [PATCH] Fix error handling in update ruleset script using python3 --- update_ruleset | 1 + 1 file changed, 1 insertion(+) diff --git a/update_ruleset b/update_ruleset index 20a6ebc2b..ed93ba67e 100755 --- a/update_ruleset +++ b/update_ruleset @@ -30,6 +30,7 @@ try: from urllib2 import urlopen, URLError, HTTPError except: from urllib.request import urlopen # Python 3 + from urllib.error import URLError, HTTPError class RulesetLogger: