diff --git a/libbmc/fetcher.py b/libbmc/fetcher.py index c477b69..ef0c929 100644 --- a/libbmc/fetcher.py +++ b/libbmc/fetcher.py @@ -22,9 +22,7 @@ try: from urllib.error import URLError except ImportError: # Fall back to Python 2's urllib2 - from urllib2 import urlopen, Request - class URLError(Exception): - pass + from urllib2 import urlopen, Request, URLError import arxiv2bib as arxiv_metadata import libbmc.tools as tools import bibtexparser