From ab6abda558493ff305e9f8982b2884b8f9526dfa Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Mon, 6 Feb 2012 20:43:32 +0000 Subject: [PATCH] Remove redundant variable from by_event_id_key svn: r18830 --- src/Sort.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sort.py b/src/Sort.py index 02482e38b..af850b969 100644 --- a/src/Sort.py +++ b/src/Sort.py @@ -234,7 +234,7 @@ class Sort(object): def by_event_id_key(self, a_id): """Sort routine for comparing two events by their ID. """ - if not (a_id and b_id): + if not a_id: return 0 evt_a = self.database.get_event_from_handle(a_id) return locale.strxfrm(evt_a.get_gramps_id())