54
54
class PrimaryNameCitation (ActionBase ):
55
55
def __init__ (self ):
56
56
ActionBase .__init__ (self )
57
- pass
58
57
59
58
def get_actions (self , dbstate , citation , form_event ):
60
59
db = dbstate .db
61
60
actions = []
62
61
for (person , attr ) in ActionBase .get_form_person_attr (db , form_event .get_handle (), 'Name' ):
63
- pass
64
62
actions .append ((name_displayer .display (person ), attr .get_value (),
65
63
lambda dbstate , uistate , track , citation_handle = citation .handle , person_handle = person .handle : PrimaryNameCitation .command (dbstate , uistate , track , citation_handle , person_handle )))
66
64
return (_ ("Add Primary Name citation" ), actions )
@@ -75,7 +73,6 @@ def command(dbstate, uistate, track, citation_handle, person_handle):
75
73
class BirthEvent (ActionBase ):
76
74
def __init__ (self ):
77
75
ActionBase .__init__ (self )
78
- pass
79
76
80
77
def get_actions (self , dbstate , citation , form_event ):
81
78
db = dbstate .db
@@ -108,7 +105,6 @@ def get_actions(self, dbstate, citation, form_event):
108
105
class OccupationEvent (ActionBase ):
109
106
def __init__ (self ):
110
107
ActionBase .__init__ (self )
111
- pass
112
108
113
109
def get_actions (self , dbstate , citation , form_event ):
114
110
db = dbstate .db
@@ -123,7 +119,6 @@ def get_actions(self, dbstate, citation, form_event):
123
119
class ResidenceEvent (ActionBase ):
124
120
def __init__ (self ):
125
121
ActionBase .__init__ (self )
126
- pass
127
122
128
123
def get_actions (self , dbstate , citation , form_event ):
129
124
db = dbstate .db
0 commit comments