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:
Rob G. Healey 2012-03-31 05:50:52 +00:00
parent fbafc7e8ef
commit 3339a68f80
5 changed files with 10 additions and 10 deletions

View File

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

View File

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

View File

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

View File

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

View File

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