make Witness inherit from Persistent

svn: r2071
This commit is contained in:
Don Allingham 2003-09-01 15:46:09 +00:00
parent eb5b85072a
commit 7e72838c0f

View File

@ -1647,7 +1647,7 @@ class Event(DataObj):
"""sets the Date object associated with the Event"""
self.date = date
class Witness:
class Witness(Persistent):
def __init__(self,type=Event.NAME,val="",comment=""):
self.set_type(type)
self.set_value(val)