Fixed IndentationErrors created from rev19169. It is a major one as it crashes Gramps upon trying to loading.
svn: r19183
This commit is contained in:
parent
fbafc7e8ef
commit
3339a68f80
@ -40,8 +40,8 @@ class HasAttributeBase(Rule):
|
|||||||
|
|
||||||
labels = [ 'Attribute:', 'Value:' ]
|
labels = [ 'Attribute:', 'Value:' ]
|
||||||
name = 'Objects with the <attribute>'
|
name = 'Objects with the <attribute>'
|
||||||
description = "Matches objects with the given attribute "
|
description = ["Matches objects with the given attribute ",
|
||||||
"of a particular value"
|
"of a particular value"]
|
||||||
category = 'General filters'
|
category = 'General filters'
|
||||||
|
|
||||||
def apply(self, db, obj):
|
def apply(self, db, obj):
|
||||||
|
@ -38,8 +38,8 @@ class HasSourceCountBase(Rule):
|
|||||||
|
|
||||||
labels = [ 'Number of instances:', 'Number must be:']
|
labels = [ 'Number of instances:', 'Number must be:']
|
||||||
name = 'Objects with <count> sources'
|
name = 'Objects with <count> sources'
|
||||||
description = "Matches objects that have a certain number of sources "
|
description = ["Matches objects that have a certain number of sources ",
|
||||||
"connected to it (actually citations are counted)"
|
"connected to it (actually citations are counted)"]
|
||||||
category = 'Citation/source filters'
|
category = 'Citation/source filters'
|
||||||
|
|
||||||
def prepare(self, db):
|
def prepare(self, db):
|
||||||
|
@ -43,8 +43,8 @@ class MatchesEventFilterBase(MatchesFilterBase):
|
|||||||
|
|
||||||
labels = ['Event filter name:']
|
labels = ['Event filter name:']
|
||||||
name = 'Objects with events matching the <event filter>'
|
name = 'Objects with events matching the <event filter>'
|
||||||
description = "Matches objects who have events that match a certain"
|
description = ["Matches objects who have events that match a certain",
|
||||||
" event filter"
|
" event filter"]
|
||||||
category = 'General filters'
|
category = 'General filters'
|
||||||
|
|
||||||
# we want to have this filter show event filters
|
# we want to have this filter show event filters
|
||||||
|
@ -40,8 +40,8 @@ class MatchesSourceFilterBase(MatchesFilterBase):
|
|||||||
|
|
||||||
labels = ['Source filter name:']
|
labels = ['Source filter name:']
|
||||||
name = 'Objects with source matching the <source filter>'
|
name = 'Objects with source matching the <source filter>'
|
||||||
description = "Matches objects with sources that match the "
|
description = ["Matches objects with sources that match the ",
|
||||||
"specified source filter name"
|
"specified source filter name"]
|
||||||
category = 'Citation/source filters'
|
category = 'Citation/source filters'
|
||||||
|
|
||||||
# we want to have this filter show source filters
|
# we want to have this filter show source filters
|
||||||
|
@ -46,8 +46,8 @@ class RegExpIdBase(Rule):
|
|||||||
|
|
||||||
labels = [ 'Regular expression:' ]
|
labels = [ 'Regular expression:' ]
|
||||||
name = 'Objects with <Id>'
|
name = 'Objects with <Id>'
|
||||||
description = "Matches objects whose Gramps ID matches "
|
description = ["Matches objects whose Gramps ID matches ",
|
||||||
"the regular expression"
|
"the regular expression"]
|
||||||
category = 'General filters'
|
category = 'General filters'
|
||||||
|
|
||||||
def __init__(self, list):
|
def __init__(self, list):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user