diff --git a/MANIFEST b/MANIFEST index 03641c0..1cd27a9 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,6 +1,6 @@ TODO Makefile -README.html +README.txt setup.py pdfminer/Makefile pdfminer/__init__.py diff --git a/Makefile b/Makefile index 44173e0..ce8af74 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +36,9 @@ check: sdist: clean $(PYTHON) setup.py sdist +register: clean + $(PYTHON) setup.py sdist upload register + WEBDIR=$$HOME/Site/unixuser.org/python/$(PACKAGE) publish: sdist $(CP) dist/$(DISTFILE) $(WEBDIR) diff --git a/TODO b/TODO index ecc746c..40aba69 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,5 @@ TODOs: + - sgml->xml - PEP-8 conformance. - Better text extraction / layout analysis. - Better API Documentation. diff --git a/docs/index.html b/docs/index.html index 9dc43b6..435922d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -14,11 +14,12 @@ Python PDF parser and analyzer

HomepageRecent Changes

-Last Modified: Sat Oct 24 13:40:19 JST 2009 +Last Modified: Tue Oct 27 00:22:22 JST 2009
@@ -64,8 +65,8 @@ PDF parser that can be used for other purposes instead of text analysis.

Download:
- -http://www.unixuser.org/~euske/python/pdfminer/pdfminer-20091004.tar.gz + +http://www.unixuser.org/~euske/python/pdfminer/pdfminer-20091024.tar.gz (1.8Mbytes) diff --git a/pdfminer/pdfparser.py b/pdfminer/pdfparser.py index 01de92e..7c04d42 100644 --- a/pdfminer/pdfparser.py +++ b/pdfminer/pdfparser.py @@ -343,7 +343,7 @@ class PDFDocument(object): key = hash.digest()[:length/8] if R == 2: # Algorithm 3.4 - u1 = Arcfour(key).process(password) + u1 = Arcfour(key).process(self.PASSWORD_PADDING) elif R == 3: # Algorithm 3.5 hash = md5.md5(self.PASSWORD_PADDING) # 2