pull/80/head
parent
67bf5ab124
commit
b010db6049
|
@ -588,6 +588,8 @@ class PDFDocument(object):
|
||||||
raise PDFSyntaxError('Catalog not found!')
|
raise PDFSyntaxError('Catalog not found!')
|
||||||
return
|
return
|
||||||
|
|
||||||
|
KEYWORD_OBJ = KWD(b'obj')
|
||||||
|
|
||||||
# _initialize_password(password=b'')
|
# _initialize_password(password=b'')
|
||||||
# Perform the initialization with a given password.
|
# Perform the initialization with a given password.
|
||||||
def _initialize_password(self, password=''):
|
def _initialize_password(self, password=''):
|
||||||
|
|
Binary file not shown.
|
@ -50,5 +50,8 @@ class TestDumpPDF():
|
||||||
|
|
||||||
def test_8(self):
|
def test_8(self):
|
||||||
run('../samples/contrib/','2b','-A -t xml')
|
run('../samples/contrib/','2b','-A -t xml')
|
||||||
|
|
||||||
|
def test_9(self):
|
||||||
|
run('../samples/nonfree/','175') # https://github.com/pdfminer/pdfminer.six/issues/65
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
nose.runmodule()
|
nose.runmodule()
|
||||||
|
|
Loading…
Reference in New Issue