* src/GenericFilters.py (get_filters): Use default value of

'generic' for the namespace argument.


svn: r5836
This commit is contained in:
Alex Roitman 2006-01-26 19:47:42 +00:00
parent 5cdd2f290b
commit df11430fc2
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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: