Change file extentions in reports when different filetype is chosen
svn: r1534
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user