Skip to content

Commit 74ffe88

Browse files
committed
Remove unnecessary "pass" statements
1 parent 6b8899b commit 74ffe88

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Form/UK1841.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,11 @@
5454
class PrimaryNameCitation(ActionBase):
5555
def __init__(self):
5656
ActionBase.__init__(self)
57-
pass
5857

5958
def get_actions(self, dbstate, citation, form_event):
6059
db = dbstate.db
6160
actions = []
6261
for (person, attr) in ActionBase.get_form_person_attr(db, form_event.get_handle(), 'Name'):
63-
pass
6462
actions.append((name_displayer.display(person), attr.get_value(),
6563
lambda dbstate, uistate, track, citation_handle = citation.handle, person_handle = person.handle: PrimaryNameCitation.command(dbstate, uistate, track, citation_handle, person_handle)))
6664
return (_("Add Primary Name citation"), actions)
@@ -75,7 +73,6 @@ def command(dbstate, uistate, track, citation_handle, person_handle):
7573
class BirthEvent(ActionBase):
7674
def __init__(self):
7775
ActionBase.__init__(self)
78-
pass
7976

8077
def get_actions(self, dbstate, citation, form_event):
8178
db = dbstate.db
@@ -108,7 +105,6 @@ def get_actions(self, dbstate, citation, form_event):
108105
class OccupationEvent(ActionBase):
109106
def __init__(self):
110107
ActionBase.__init__(self)
111-
pass
112108

113109
def get_actions(self, dbstate, citation, form_event):
114110
db = dbstate.db
@@ -123,7 +119,6 @@ def get_actions(self, dbstate, citation, form_event):
123119
class ResidenceEvent(ActionBase):
124120
def __init__(self):
125121
ActionBase.__init__(self)
126-
pass
127122

128123
def get_actions(self, dbstate, citation, form_event):
129124
db = dbstate.db

0 commit comments

Comments
 (0)