Skip to content

Commit

Permalink
Merge pull request atlanhq#175 from camelot-dev/revert-0-8-1
Browse files Browse the repository at this point in the history
[MRG] Revert the changes in v0.8.1
  • Loading branch information
vinayak-mehta authored Jul 27, 2020
2 parents fcad506 + fbe576f commit 9a5c4b6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Release History
master
------

0.8.2 (2020-07-27)
------------------

* Revert the changes in `0.8.1`.

0.8.1 (2020-07-21)
------------------

Expand Down
2 changes: 1 addition & 1 deletion camelot/__version__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

VERSION = (0, 8, 1)
VERSION = (0, 8, 2)
PRERELEASE = None # alpha, beta or rc
REVISION = None

Expand Down
4 changes: 2 additions & 2 deletions camelot/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from pdfminer.pdfparser import PDFParser
from pdfminer.pdfdocument import PDFDocument
from pdfminer.pdfpage import PDFPage
from pdfminer.pdfpage import PDFTextExtractionNotAllowedError
from pdfminer.pdfpage import PDFTextExtractionNotAllowed
from pdfminer.pdfinterp import PDFResourceManager
from pdfminer.pdfinterp import PDFPageInterpreter
from pdfminer.converter import PDFPageAggregator
Expand Down Expand Up @@ -780,7 +780,7 @@ def get_page_layout(
parser = PDFParser(f)
document = PDFDocument(parser)
if not document.is_extractable:
raise PDFTextExtractionNotAllowedError(f"Text extraction is not allowed: {filename}")
raise PDFTextExtractionNotAllowed(f"Text extraction is not allowed: {filename}")
laparams = LAParams(
char_margin=char_margin,
line_margin=line_margin,
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ numpy>=1.13.3
opencv-python>=3.4.2.17
openpyxl>=2.5.8
pandas>=0.23.4
pdfminer.six>=20200720
pdfminer.six>=20200726
PyPDF2>=1.26.0
Sphinx>=3.1.2
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'numpy>=1.13.3',
'openpyxl>=2.5.8',
'pandas>=0.23.4',
'pdfminer.six>=20200720',
'pdfminer.six>=20200726',
'PyPDF2>=1.26.0'
]

Expand Down

0 comments on commit 9a5c4b6

Please sign in to comment.