* src/GrampsDb/_GrampsBSDDB.py: Do not import unused module.

Do not import unused module.


svn: r6738
This commit is contained in:
Alex Roitman 2006-05-21 20:48:50 +00:00
parent 8b1298e7f7
commit 4b4ff7e0ac
3 changed files with 3 additions and 3 deletions

View File

@ -2,6 +2,7 @@
* src/plugins/GraphViz.py.in: fix file open.
2006-05-21 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py: Do not import unused module.
* src/const.py.in: Use gettext.
* src/GrampsDb/_ConstXML.py: Remove file.
* src/DisplayTabs/_PersonEventEmbedList.py
@ -12,6 +13,7 @@
(EditPersonEvent.get_custom_events): Use correct method.
* src/GrampsDb/_GrampsDbBase.py: Remove obsolete methods.
* src/GrampsDb/_GrampsInMemDB.py: Remove obsolete methods.
Do not import unused module.
2006-05-20 Don Allingham <don@gramps-project.org>
* src/Editors/_EditPlace.py: custom menus

View File

@ -33,7 +33,6 @@ import cPickle as pickle
import os
import time
import locale
import sets
from gettext import gettext as _
from bsddb import dbshelve, db
import logging
@ -1679,7 +1678,7 @@ def _table_low_level_9(env,table):
handle_list = table.keys()
length = len(handle_list)
dup_handles = sets.Set(
dup_handles = set(
[ handle for handle in handle_list if handle_list.count(handle) > 1 ]
)

View File

@ -30,7 +30,6 @@ must hold all of their data in memory.
# Python modules
#
#-------------------------------------------------------------------------
import sets
import time
#-------------------------------------------------------------------------