Skip to content

Commit

Permalink
Fix error handling in update ruleset script using python3
Browse files Browse the repository at this point in the history
  • Loading branch information
Marta Gómez Macías committed May 4, 2018
1 parent c0a4715 commit 4800f8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions update_ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4800f8a

Please sign in to comment.