Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/fusesoc/provider/github.py b/fusesoc/provider/github.py
- index 8a71a37..733d1f4 100644
- --- a/fusesoc/provider/github.py
- +++ b/fusesoc/provider/github.py
- @@ -7,10 +7,12 @@ import tarfile
- if sys.version_info[0] >= 3:
- import urllib.request as urllib
- + from urllib.error import URLError
- else:
- import urllib
- + from urllib2 import URLError
- -from urllib.error import URLError
- +#from urllib.error import URLError
- class GitHub(object):
- def __init__(self, core_name, config, core_root, cache_root):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement