Change file extentions in reports when different filetype is chosen

svn: r1534
This commit is contained in:
Don Allingham
2003-05-16 01:49:50 +00:00
parent 4d5f13b00e
commit 4247f38dbb
25 changed files with 142 additions and 38 deletions

View File

@@ -20,13 +20,17 @@
class ReportError(Exception):
"""Error used to report Report errors"""
def __init__(self,value):
def __init__(self,value,value2=""):
Exception.__init__(self)
self.value = value
self.value2 = value2
def __str__(self):
return self.value
def messages(self):
return (self.value,self.value2)
class GedcomError(Exception):
"""Error used to report GEDCOM errors"""
def __init__(self,value):