Split Utils in a non GUI and GUI part

move GrampsCfg utils to Utils
improve import strategy


svn: r12680
This commit is contained in:
Benny Malengier
2009-06-19 15:23:58 +00:00
parent 0ac67e8a59
commit 9d417e2cd6
40 changed files with 327 additions and 405 deletions

View File

@@ -197,7 +197,8 @@ class GenericFilter(object):
def check(self, db, handle):
return self.get_check_func()(db, [handle])
# progress is optional. If present it must be an instance of Utils.ProgressMeter
# progress is optional. If present it must be an instance of
# gui.utils.ProgressMeter
def apply(self, db, id_list=None, progress=None):
m = self.get_check_func()
for rule in self.flist: