Fix requests.exception import error

This commit is contained in:
Lucas Verney 2016-01-19 17:45:21 +01:00
parent dec7257eff
commit 962b4adc23
3 changed files with 3 additions and 5 deletions

View File

@ -118,11 +118,9 @@ def delete(filename, identifier):
def get(filename, ignore_fields=[]):
"""
Get an entry from a BibTeX file.
Get all entries from a BibTeX file.
:param filename: The name of the BibTeX file.
:param identifier: An optional id of the entry to fetch, in the BibTeX \
file.
:param ignore_fields: An optional list of fields to strip from the BibTeX \
file.

View File

@ -5,7 +5,7 @@ plaintext files.
import os
import requests
from requests.exception import RequestException
from requests.exceptions import RequestException
from libbmc import doi
from libbmc import tools

View File

@ -10,7 +10,7 @@ import tarfile
import xml.etree.ElementTree
from urllib.error import HTTPError
from requests.exception import RequestException
from requests.exceptions import RequestException
from libbmc import tools