Fixed type in line 2087. too many (.

svn: r10799
This commit is contained in:
Peter Landgren 2008-06-10 09:48:33 +00:00
parent d04f7e26d4
commit 8d33306a2e

View File

@ -2084,7 +2084,7 @@ class GrampsBSDDB(GrampsDbBase, UpdateCallback):
if name == 'Note': if name == 'Note':
# Special case: we are way down at the very bottom. # Special case: we are way down at the very bottom.
# Create note, commit it, return a list with one handle. # Create note, commit it, return a list with one handle.
if (isinstance(obj, tuple) and (len(obj) > 0) and \ if isinstance(obj, tuple) and (len(obj) > 0) and \
('strip' in dir(obj[0])) and (obj[0].strip()): ('strip' in dir(obj[0])) and (obj[0].strip()):
# Some notes may be None, from early databases. # Some notes may be None, from early databases.
(text, format) = obj (text, format) = obj