Advertisement
Guest User

Untitled

a guest
Oct 26th, 2014
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.54 KB | None | 0 0
  1. diff --git a/fusesoc/provider/github.py b/fusesoc/provider/github.py
  2. index 8a71a37..733d1f4 100644
  3. --- a/fusesoc/provider/github.py
  4. +++ b/fusesoc/provider/github.py
  5. @@ -7,10 +7,12 @@ import tarfile
  6.  
  7.  if sys.version_info[0] >= 3:
  8.      import urllib.request as urllib
  9. +    from urllib.error import URLError
  10.  else:
  11.      import urllib
  12. +    from urllib2 import URLError
  13.  
  14. -from urllib.error import URLError
  15. +#from urllib.error import URLError
  16.  
  17.  class GitHub(object):
  18.      def __init__(self, core_name, config, core_root, cache_root):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement