From ab27d96f96c65115f9f89a004b9c43b95d6a7131 Mon Sep 17 00:00:00 2001 From: Phyks Date: Sat, 6 Jun 2015 16:28:39 +0200 Subject: [PATCH] Fix Travis build --- libbmc/fetcher.py | 2 +- libbmc/tests/src/isbn.bib | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libbmc/fetcher.py b/libbmc/fetcher.py index cf11f7c..0fa8dce 100644 --- a/libbmc/fetcher.py +++ b/libbmc/fetcher.py @@ -173,7 +173,7 @@ def isbn2Bib(isbn): try: return isbnlib.registry.bibformatters['bibtex'](isbnlib.meta(isbn, 'default')) - except (isbnlib.ISBNLibException, isbnlib.ISBNToolsException, TypeError): + except (isbnlib.ISBNLibException, TypeError): return '' diff --git a/libbmc/tests/src/isbn.bib b/libbmc/tests/src/isbn.bib index 8a1f91e..59cc134 100644 --- a/libbmc/tests/src/isbn.bib +++ b/libbmc/tests/src/isbn.bib @@ -1,7 +1,7 @@ @book{9780198507192, title = {Bose-Einstein Condensation}, - author = {Lev. P. Pitaevskii and Sandro Stringari}, + author = {Lev. P. Pitaevskii and S. Stringari}, isbn = {9780198507192}, year = {2004}, publisher = {Clarendon Press} -} \ No newline at end of file +}