Code Search for Developers
 
 
  

_Everyone.py from gramps at Krugle


Show _Everyone.py syntax highlighted

#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2002-2006  Donald N. Allingham
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#

# $Id: _Everyone.py 6529 2006-05-03 06:29:07Z rshura $

#-------------------------------------------------------------------------
#
# Standard Python modules
#
#-------------------------------------------------------------------------
from gettext import gettext as _

#-------------------------------------------------------------------------
#
# GRAMPS modules
#
#-------------------------------------------------------------------------
from Filters.Rules._Rule import Rule

#-------------------------------------------------------------------------
#
# Everyone
#
#-------------------------------------------------------------------------
class Everyone(Rule):
    """Matches Everyone"""

    name        = _('Everyone')
    category    = _('General filters')
    description = _('Matches everyone in the database')

    def is_empty(self):
        return True

    def apply(self,db,person):
        return True




See more files for this project here

gramps

GRAMPS is a GNOME genealogy program for Linux and FreeBSD that allows you to easily build\r\nand keep track of your family tree.

Project homepage: http://sourceforge.net/projects/gramps
Programming language(s): Python
License: other

  Makefile.am
  _Disconnected.py
  _Everyone.py
  _FamilyWithIncompleteEvent.py
  _HasAttribute.py
  _HasBirth.py
  _HasCommonAncestorWith.py
  _HasCommonAncestorWithFilterMatch.py
  _HasCompleteRecord.py
  _HasDeath.py
  _HasEvent.py
  _HasFamilyAttribute.py
  _HasFamilyEvent.py
  _HasIdOf.py
  _HasMarkerOf.py
  _HasNameOf.py
  _HasNote.py
  _HasNoteMatchingSubstringOf.py
  _HasNoteRegexp.py
  _HasRelationship.py
  _HasSourceOf.py
  _HasTextMatchingRegexpOf.py
  _HasTextMatchingSubstringOf.py
  _HasUnknownGender.py
  _HaveAltFamilies.py
  _HaveChildren.py
  _HavePhotos.py
  _IncompleteNames.py
  _IsAncestorOf.py
  _IsAncestorOfFilterMatch.py
  _IsBookmarked.py
  _IsChildOfFilterMatch.py
  _IsDefaultPerson.py
  _IsDescendantFamilyOf.py
  _IsDescendantOf.py
  _IsDescendantOfFilterMatch.py
  _IsFemale.py
  _IsLessThanNthGenerationAncestorOf.py
  _IsLessThanNthGenerationAncestorOfBookmarked.py
  _IsLessThanNthGenerationAncestorOfDefaultPerson.py
  _IsLessThanNthGenerationDescendantOf.py
  _IsMale.py
  _IsMoreThanNthGenerationAncestorOf.py
  _IsMoreThanNthGenerationDescendantOf.py
  _IsParentOfFilterMatch.py
  _IsSiblingOfFilterMatch.py
  _IsSpouseOfFilterMatch.py
  _IsWitness.py
  _MatchIdOf.py
  _MatchesFilter.py
  _MissingParent.py
  _MultipleMarriages.py
  _NeverMarried.py
  _NoBirthdate.py
  _PeoplePrivate.py
  _PersonWithIncompleteEvent.py
  _ProbablyAlive.py
  _RegExpIdOf.py
  _RegExpName.py
  _RelationshipPathBetween.py
  _RelationshipPathBetweenBookmarks.py
  _SearchName.py
  __init__.py