* src/Filters/_FilterParser.py (startElement): Upgrade existing
custom_filters file from Media to MediaObject. svn: r7237
This commit is contained in:
parent
3698662a64
commit
ead038c2a1
@ -1,4 +1,6 @@
|
|||||||
2006-08-22 Alex Roitman <shura@gramps-project.org>
|
2006-08-22 Alex Roitman <shura@gramps-project.org>
|
||||||
|
* src/Filters/_FilterParser.py (startElement): Upgrade existing
|
||||||
|
custom_filters file from Media to MediaObject.
|
||||||
* src/Selectors/_SelectEvent.py (get_handle_column): Correct
|
* src/Selectors/_SelectEvent.py (get_handle_column): Correct
|
||||||
handle column number.
|
handle column number.
|
||||||
* configure.in: Reflect directory change.
|
* configure.in: Reflect directory change.
|
||||||
|
@ -59,6 +59,8 @@ class FilterParser(handler.ContentHandler):
|
|||||||
if tag == "object":
|
if tag == "object":
|
||||||
if attrs.has_key('type'):
|
if attrs.has_key('type'):
|
||||||
self.namespace = attrs['type']
|
self.namespace = attrs['type']
|
||||||
|
if self.namespace == 'Media':
|
||||||
|
self.namespace = 'MediaObject'
|
||||||
else:
|
else:
|
||||||
self.namespace = "generic"
|
self.namespace = "generic"
|
||||||
elif tag == "filter":
|
elif tag == "filter":
|
||||||
|
Loading…
Reference in New Issue
Block a user