make Witness inherit from Persistent
svn: r2071
This commit is contained in:
parent
eb5b85072a
commit
7e72838c0f
@ -1647,7 +1647,7 @@ class Event(DataObj):
|
|||||||
"""sets the Date object associated with the Event"""
|
"""sets the Date object associated with the Event"""
|
||||||
self.date = date
|
self.date = date
|
||||||
|
|
||||||
class Witness:
|
class Witness(Persistent):
|
||||||
def __init__(self,type=Event.NAME,val="",comment=""):
|
def __init__(self,type=Event.NAME,val="",comment=""):
|
||||||
self.set_type(type)
|
self.set_type(type)
|
||||||
self.set_value(val)
|
self.set_value(val)
|
||||||
|
Loading…
Reference in New Issue
Block a user