trivial pylint fix
This commit is contained in:
1 parent
8387529110
commit
d7f1ebaf3f
1 file changed
+1
-2
@@ -5372,8 +5372,7 @@ class GedcomParser(UpdateCallback):
|
||||
name = EventType(GED_TO_GRAMPS_EVENT[line.data])
|
||||
else:
|
||||
try:
|
||||
name = EventType((EventType.CUSTOM,
|
||||
line.data))
|
||||
name = EventType((EventType.CUSTOM, line.data))
|
||||
except AttributeError:
|
||||
name = EventType(EventType.UNKNOWN)
|
||||
state.event.set_type(name)
|
||||
|
||||
Reference in new issue
Block a user