* src/ArgHandler.py: fix typo

* src/docgen/PSDrawDoc.py: removed print statements


svn: r5421
This commit is contained in:
Don Allingham
2005-11-23 04:07:39 +00:00
parent 3a7d7bd85c
commit 0aedc53918
3 changed files with 3 additions and 4 deletions

View File

@@ -1,4 +1,6 @@
2005-11-22 Don Allingham <don@gramps-project.org> 2005-11-22 Don Allingham <don@gramps-project.org>
* src/ArgHandler.py: fix typo
* src/docgen/PSDrawDoc.py: removed print statements
* src/plugins/DetDescendantReport.py: fixed insert_image * src/plugins/DetDescendantReport.py: fixed insert_image
* src/ReadGedcom.py: Fix handling of CONT * src/ReadGedcom.py: Fix handling of CONT

View File

@@ -203,7 +203,7 @@ class ArgHandler:
outformat = 'geneweb' outformat = 'geneweb'
elif outfname[-6:].upper() == "GRAMPS": elif outfname[-6:].upper() == "GRAMPS":
outformat = 'gramps-xml' outformat = 'gramps-xml'
elif fname[-3:].upper() == "GRDB": elif outfname[-3:].upper() == "GRDB":
format = 'grdb' format = 'grdb'
else: else:
print "Unrecognized format for output file %s" % outfname print "Unrecognized format for output file %s" % outfname

View File

@@ -406,9 +406,6 @@ class PSDrawDoc(BaseDoc.BaseDoc):
self.f.write(fdef) self.f.write(fdef)
lines = text.split('\n') lines = text.split('\n')
print text
print lines
nlines = len(lines) nlines = len(lines)
mar = 10/28.35 mar = 10/28.35
f_in_cm = p.get_font().get_size()/28.35 f_in_cm = p.get_font().get_size()/28.35