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