From 0aedc539182614981507cd18c50114e286a60432 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 23 Nov 2005 04:07:39 +0000 Subject: [PATCH] * src/ArgHandler.py: fix typo * src/docgen/PSDrawDoc.py: removed print statements svn: r5421 --- gramps2/ChangeLog | 2 ++ gramps2/src/ArgHandler.py | 2 +- gramps2/src/docgen/PSDrawDoc.py | 3 --- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index bc3c69e5a..7ab53fb8f 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,6 @@ 2005-11-22 Don Allingham + * src/ArgHandler.py: fix typo + * src/docgen/PSDrawDoc.py: removed print statements * src/plugins/DetDescendantReport.py: fixed insert_image * src/ReadGedcom.py: Fix handling of CONT diff --git a/gramps2/src/ArgHandler.py b/gramps2/src/ArgHandler.py index fa753aa3f..0f97d3977 100644 --- a/gramps2/src/ArgHandler.py +++ b/gramps2/src/ArgHandler.py @@ -203,7 +203,7 @@ class ArgHandler: outformat = 'geneweb' elif outfname[-6:].upper() == "GRAMPS": outformat = 'gramps-xml' - elif fname[-3:].upper() == "GRDB": + elif outfname[-3:].upper() == "GRDB": format = 'grdb' else: print "Unrecognized format for output file %s" % outfname diff --git a/gramps2/src/docgen/PSDrawDoc.py b/gramps2/src/docgen/PSDrawDoc.py index 7735e4098..7be971cd2 100644 --- a/gramps2/src/docgen/PSDrawDoc.py +++ b/gramps2/src/docgen/PSDrawDoc.py @@ -406,9 +406,6 @@ class PSDrawDoc(BaseDoc.BaseDoc): self.f.write(fdef) lines = text.split('\n') - print text - print lines - nlines = len(lines) mar = 10/28.35 f_in_cm = p.get_font().get_size()/28.35