diff --git a/ChangeLog b/ChangeLog index 76e6ce1cf..c571ea320 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ 2006-01-25 Alex Roitman * 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 * src/DisplayTabs.py: use idle_loop to load data for source diff --git a/src/GenericFilter.py b/src/GenericFilter.py index af7b477a0..b99eb41f5 100644 --- a/src/GenericFilter.py +++ b/src/GenericFilter.py @@ -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: