From 3339a68f80a8cabf287d7ffa1de74b702b0ce305 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Sat, 31 Mar 2012 05:50:52 +0000 Subject: [PATCH] Fixed IndentationErrors created from rev19169. It is a major one as it crashes Gramps upon trying to loading. svn: r19183 --- src/Filters/Rules/_HasAttributeBase.py | 4 ++-- src/Filters/Rules/_HasSourceCountBase.py | 4 ++-- src/Filters/Rules/_MatchesEventFilterBase.py | 4 ++-- src/Filters/Rules/_MatchesSourceFilterBase.py | 4 ++-- src/Filters/Rules/_RegExpIdBase.py | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Filters/Rules/_HasAttributeBase.py b/src/Filters/Rules/_HasAttributeBase.py index 1b0e70615..3477cdd08 100644 --- a/src/Filters/Rules/_HasAttributeBase.py +++ b/src/Filters/Rules/_HasAttributeBase.py @@ -40,8 +40,8 @@ class HasAttributeBase(Rule): labels = [ 'Attribute:', 'Value:' ] name = 'Objects with the ' - 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): diff --git a/src/Filters/Rules/_HasSourceCountBase.py b/src/Filters/Rules/_HasSourceCountBase.py index 508103129..766b3db71 100755 --- a/src/Filters/Rules/_HasSourceCountBase.py +++ b/src/Filters/Rules/_HasSourceCountBase.py @@ -38,8 +38,8 @@ class HasSourceCountBase(Rule): labels = [ 'Number of instances:', 'Number must be:'] name = 'Objects with 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): diff --git a/src/Filters/Rules/_MatchesEventFilterBase.py b/src/Filters/Rules/_MatchesEventFilterBase.py index c9c364feb..76eae86fe 100644 --- a/src/Filters/Rules/_MatchesEventFilterBase.py +++ b/src/Filters/Rules/_MatchesEventFilterBase.py @@ -43,8 +43,8 @@ class MatchesEventFilterBase(MatchesFilterBase): labels = ['Event filter name:'] name = 'Objects with events matching the ' - 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 diff --git a/src/Filters/Rules/_MatchesSourceFilterBase.py b/src/Filters/Rules/_MatchesSourceFilterBase.py index 16d5d306c..a8eedc47e 100644 --- a/src/Filters/Rules/_MatchesSourceFilterBase.py +++ b/src/Filters/Rules/_MatchesSourceFilterBase.py @@ -40,8 +40,8 @@ class MatchesSourceFilterBase(MatchesFilterBase): labels = ['Source filter name:'] name = 'Objects with source matching the ' - 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 diff --git a/src/Filters/Rules/_RegExpIdBase.py b/src/Filters/Rules/_RegExpIdBase.py index 50315fbc4..0fae69335 100644 --- a/src/Filters/Rules/_RegExpIdBase.py +++ b/src/Filters/Rules/_RegExpIdBase.py @@ -46,8 +46,8 @@ class RegExpIdBase(Rule): labels = [ 'Regular expression:' ] name = 'Objects with ' - 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):