730d86
diff -uNr calibre.old/src/calibre/ebooks/pdf/manipulate/crop.py calibre/src/calibre/ebooks/pdf/manipulate/crop.py
730d86
--- calibre.old/src/calibre/ebooks/pdf/manipulate/crop.py	2011-03-21 00:04:16.946217391 +0100
730d86
+++ calibre/src/calibre/ebooks/pdf/manipulate/crop.py	2011-03-21 00:08:54.324717632 +0100
730d86
@@ -102,7 +102,7 @@
730d86
         if len(bounding_lines) != input_pdf.numPages:
730d86
             raise Exception('Error bounding file %s page count does not correspond to specified pdf' % opts.bounding)
730d86
 
730d86
-    output_pdf = PdfFileWriter(title=title,author=author)
730d86
+    output_pdf = PdfFileWriter()
730d86
     blines = iter(bounding_lines)
730d86
     for page in input_pdf.pages:
730d86
         if bounding_lines != []:
730d86
diff -uNr calibre.old/src/calibre/ebooks/pdf/manipulate/decrypt.py calibre/src/calibre/ebooks/pdf/manipulate/decrypt.py
730d86
--- calibre.old/src/calibre/ebooks/pdf/manipulate/decrypt.py	2011-03-21 00:04:16.947217310 +0100
730d86
+++ calibre/src/calibre/ebooks/pdf/manipulate/decrypt.py	2011-03-21 00:08:23.849195389 +0100
730d86
@@ -72,7 +72,7 @@
730d86
 
730d86
     title = pdf.documentInfo.title if pdf.documentInfo.title else _('Unknown')
730d86
     author = pdf.documentInfo.author if pdf.documentInfo.author else _('Unknown')
730d86
-    out_pdf = PdfFileWriter(title=title, author=author)
730d86
+    out_pdf = PdfFileWriter()
730d86
 
730d86
     for page in pdf.pages:
730d86
         out_pdf.addPage(page)
730d86
diff -uNr calibre.old/src/calibre/ebooks/pdf/manipulate/encrypt.py calibre/src/calibre/ebooks/pdf/manipulate/encrypt.py
730d86
--- calibre.old/src/calibre/ebooks/pdf/manipulate/encrypt.py	2011-03-21 00:04:16.948217229 +0100
730d86
+++ calibre/src/calibre/ebooks/pdf/manipulate/encrypt.py	2011-03-21 00:09:05.909775518 +0100
730d86
@@ -66,7 +66,7 @@
730d86
         title = metadata.title
730d86
         author = authors_to_string(metadata.authors)
730d86
 
730d86
-    out_pdf = PdfFileWriter(title=title, author=author)
730d86
+    out_pdf = PdfFileWriter()
730d86
 
730d86
     pdf = PdfFileReader(open(os.path.abspath(pdf_path), 'rb'))
730d86
     for page in pdf.pages:
730d86
diff -uNr calibre.old/src/calibre/ebooks/pdf/manipulate/merge.py calibre/src/calibre/ebooks/pdf/manipulate/merge.py
730d86
--- calibre.old/src/calibre/ebooks/pdf/manipulate/merge.py	2011-03-21 00:04:16.949217148 +0100
730d86
+++ calibre/src/calibre/ebooks/pdf/manipulate/merge.py	2011-03-21 00:08:32.281510009 +0100
730d86
@@ -68,7 +68,7 @@
730d86
         title = metadata.title
730d86
         author = authors_to_string(metadata.authors)
730d86
 
730d86
-    out_pdf = PdfFileWriter(title=title, author=author)
730d86
+    out_pdf = PdfFileWriter()
730d86
 
730d86
     for pdf_path in in_paths:
730d86
         pdf = PdfFileReader(open(os.path.abspath(pdf_path), 'rb'))
730d86
diff -uNr calibre.old/src/calibre/ebooks/pdf/manipulate/reverse.py calibre/src/calibre/ebooks/pdf/manipulate/reverse.py
730d86
--- calibre.old/src/calibre/ebooks/pdf/manipulate/reverse.py	2011-03-21 00:04:16.949217148 +0100
730d86
+++ calibre/src/calibre/ebooks/pdf/manipulate/reverse.py	2011-03-21 00:08:06.841577565 +0100
730d86
@@ -66,7 +66,7 @@
730d86
         title = metadata.title
730d86
         author = authors_to_string(metadata.authors)
730d86
 
730d86
-    out_pdf = PdfFileWriter(title=title, author=author)
730d86
+    out_pdf = PdfFileWriter()
730d86
 
730d86
     pdf = PdfFileReader(open(os.path.abspath(pdf_path), 'rb'))
730d86
     for page in reversed(pdf.pages):
730d86
diff -uNr calibre.old/src/calibre/ebooks/pdf/manipulate/rotate.py calibre/src/calibre/ebooks/pdf/manipulate/rotate.py
730d86
--- calibre.old/src/calibre/ebooks/pdf/manipulate/rotate.py	2011-03-21 00:04:16.950217067 +0100
730d86
+++ calibre/src/calibre/ebooks/pdf/manipulate/rotate.py	2011-03-21 00:08:15.289891163 +0100
730d86
@@ -65,7 +65,7 @@
730d86
         title = metadata.title
730d86
         author = authors_to_string(metadata.authors)
730d86
 
730d86
-    out_pdf = PdfFileWriter(title=title, author=author)
730d86
+    out_pdf = PdfFileWriter()
730d86
 
730d86
     pdf = PdfFileReader(open(os.path.abspath(pdf_path), 'rb'))
730d86
     for page in pdf.pages:
730d86
diff -uNr calibre.old/src/calibre/ebooks/pdf/manipulate/split.py calibre/src/calibre/ebooks/pdf/manipulate/split.py
730d86
--- calibre.old/src/calibre/ebooks/pdf/manipulate/split.py	2011-03-21 00:04:16.951216986 +0100
730d86
+++ calibre/src/calibre/ebooks/pdf/manipulate/split.py	2011-03-21 00:08:42.917645418 +0100
730d86
@@ -84,7 +84,7 @@
730d86
         title = metadata.title
730d86
         author = authors_to_string(metadata.authors)
730d86
     
730d86
-    out_pdf = PdfFileWriter(title=title, author=author)
730d86
+    out_pdf = PdfFileWriter()
730d86
     for page_num in range(start, end + 1):
730d86
         out_pdf.addPage(pdf.getPage(page_num))
730d86
     with open('%s%s.pdf' % (name, suffix), 'wb') as out_file:
730d86
diff -uNr calibre.old/src/calibre/ebooks/pdf/writer.py calibre/src/calibre/ebooks/pdf/writer.py
730d86
--- calibre.old/src/calibre/ebooks/pdf/writer.py	2011-03-21 00:04:17.228194487 +0100
730d86
+++ calibre/src/calibre/ebooks/pdf/writer.py	2011-03-21 00:07:52.059778357 +0100
730d86
@@ -193,7 +193,7 @@
730d86
         self.insert_cover()
730d86
 
730d86
         try:
730d86
-            outPDF = PdfFileWriter(title=self.metadata.title, author=self.metadata.author)
730d86
+            outPDF = PdfFileWriter()
730d86
             for item in self.combine_queue:
730d86
                 inputPDF = PdfFileReader(open(item, 'rb'))
730d86
                 for page in inputPDF.pages: