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:' ]
|
||||
name = 'Objects with the <attribute>'
|
||||
description = "Matches objects with the given attribute "
|
||||
"of a particular value"
|
||||
description = ["Matches objects with the given attribute ",
|
||||
"of a particular value"]
|
||||
category = 'General filters'
|
||||
|
||||
def apply(self, db, obj):
|
||||
|
@ -38,8 +38,8 @@ class HasSourceCountBase(Rule):
|
||||
|
||||
labels = [ 'Number of instances:', 'Number must be:']
|
||||
name = 'Objects with <count> sources'
|
||||
description = "Matches objects that have a certain number of sources "
|
||||
"connected to it (actually citations are counted)"
|
||||
description = ["Matches objects that have a certain number of sources ",
|
||||
"connected to it (actually citations are counted)"]
|
||||
category = 'Citation/source filters'
|
||||
|
||||
def prepare(self, db):
|
||||
|
@ -43,8 +43,8 @@ class MatchesEventFilterBase(MatchesFilterBase):
|
||||
|
||||
labels = ['Event filter name:']
|
||||
name = 'Objects with events matching the <event filter>'
|
||||
description = "Matches objects who have events that match a certain"
|
||||
" event filter"
|
||||
description = ["Matches objects who have events that match a certain",
|
||||
" event filter"]
|
||||
category = 'General filters'
|
||||
|
||||
# we want to have this filter show event filters
|
||||
|
@ -40,8 +40,8 @@ class MatchesSourceFilterBase(MatchesFilterBase):
|
||||
|
||||
labels = ['Source filter name:']
|
||||
name = 'Objects with source matching the <source filter>'
|
||||
description = "Matches objects with sources that match the "
|
||||
"specified source filter name"
|
||||
description = ["Matches objects with sources that match the ",
|
||||
"specified source filter name"]
|
||||
category = 'Citation/source filters'
|
||||
|
||||
# we want to have this filter show source filters
|
||||
|
@ -46,8 +46,8 @@ class RegExpIdBase(Rule):
|
||||
|
||||
labels = [ 'Regular expression:' ]
|
||||
name = 'Objects with <Id>'
|
||||
description = "Matches objects whose Gramps ID matches "
|
||||
"the regular expression"
|
||||
description = ["Matches objects whose Gramps ID matches ",
|
||||
"the regular expression"]
|
||||
category = 'General filters'
|
||||
|
||||
def __init__(self, list):
|
||||
|
Loading…
x
Reference in New Issue
Block a user