From 2c97533593d2681ef18229f0e9c590c704cfd7d8 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Tue, 10 Oct 2006 04:27:13 +0000 Subject: [PATCH] 2006-10-09 Alex Roitman * src/GrampsDb/_GrampsDbBase.py (has_object_handle): Typo. svn: r7384 --- ChangeLog | 3 +++ src/GrampsDb/_GrampsDbBase.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 49b988032..e065a2e4b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2006-10-09 Alex Roitman + * src/GrampsDb/_GrampsDbBase.py (has_object_handle): Typo. + 2006-10-09 Don Allingham * src/GrampsDb/_ReadGedcom.py: fix object importation diff --git a/src/GrampsDb/_GrampsDbBase.py b/src/GrampsDb/_GrampsDbBase.py index e3c4b4470..000f48068 100644 --- a/src/GrampsDb/_GrampsDbBase.py +++ b/src/GrampsDb/_GrampsDbBase.py @@ -1853,7 +1853,7 @@ class GrampsDbBase(GrampsDBCallback): """ returns True if the handle exists in the current MediaObjectdatabase. """ - return self.media_map.has_key(str(handle)) != None + return self.media_map.has_key(str(handle)) def has_repository_handle(self, handle): """