From d7f1ebaf3f5fc7c666e31ffd9292e228be9d942c Mon Sep 17 00:00:00 2001 From: prculley Date: Sat, 3 Sep 2016 09:29:06 -0500 Subject: [PATCH] trivial pylint fix --- gramps/plugins/lib/libgedcom.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gramps/plugins/lib/libgedcom.py b/gramps/plugins/lib/libgedcom.py index a1334a8c4..1c3a438f4 100644 --- a/gramps/plugins/lib/libgedcom.py +++ b/gramps/plugins/lib/libgedcom.py @@ -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)