* src/GenericFilters.py (get_filters): Use default value of
'generic' for the namespace argument. svn: r5836
This commit is contained in:
parent
407ba8886e
commit
a2bf6799cb
@ -1,6 +1,8 @@
|
|||||||
2006-01-25 Alex Roitman <shura@gramps-project.org>
|
2006-01-25 Alex Roitman <shura@gramps-project.org>
|
||||||
* src/GrampsDb/_GrampsBSDDB.py: Add proper upgrade path from
|
* src/GrampsDb/_GrampsBSDDB.py: Add proper upgrade path from
|
||||||
within load.
|
within load.
|
||||||
|
* src/GenericFilters.py (get_filters): Use default value of
|
||||||
|
'generic' for the namespace argument.
|
||||||
|
|
||||||
2006-01-25 Don Allingham <don@gramps-project.org>
|
2006-01-25 Don Allingham <don@gramps-project.org>
|
||||||
* src/DisplayTabs.py: use idle_loop to load data for source
|
* src/DisplayTabs.py: use idle_loop to load data for source
|
||||||
|
@ -2291,7 +2291,7 @@ class GenericFilterList:
|
|||||||
self.filter_list = {}
|
self.filter_list = {}
|
||||||
self.file = os.path.expanduser(file)
|
self.file = os.path.expanduser(file)
|
||||||
|
|
||||||
def get_filters(self,namespace):
|
def get_filters(self,namespace='generic'):
|
||||||
try:
|
try:
|
||||||
return self.filter_list[namespace]
|
return self.filter_list[namespace]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
Loading…
Reference in New Issue
Block a user